Hi!

> * upgrade the basejail with FreeBSD upgrades. I am sure this is
> a simple bit of chroot magic, but freebsd-update is a bit of a black
> box to me.

I use this script. My jails are in /vserv/<domain>/.

-------------
#!/usr/local/bin/bash

if [ X$1 = 'X' ]
then
    echo "usage: $0 vserv"
    echo "    to update vservs with 10.1"
    exit 1
fi

host=$1

UNAME_r=10.1-RELEASE-p6
export UNAME_r

set -x

freebsd-update -b /vserv/$host fetch
freebsd-update -b /vserv/$host install

-------------

-- 
p...@opsec.eu            +49 171 3101372                         4 years to go !
_______________________________________________
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"

Reply via email to