Timezone & network

ls -lF /etc/localtime
ln -s ../usr/share/zoneinfo/Europe/Moscow /etc/localtime
ln -s ../usr/share/zoneinfo/Europe/Paris /etc/localtime

vi /etc/rc.conf

ifconfig_xn0="inet 10.1.1.9 netmask 255.255.255.0 up"
defaultrouter="10.1.1.254"
hostname="freebsd.localdomain"

mv /etc/hosts /etc/hosts.dist
vi /etc/hosts

::1                     localhost localhost.localdomain
127.0.0.1               localhost localhost.localdomain

10.3.3.9                freebsd.localdomain freebsd
10.3.3.1                gw
62.210.16.6             dns1
62.210.16.7             dns2

vi /etc/resolv.conf

nameserver 62.210.16.6
nameserver 62.210.16.7

shutdown -r now

Acceptance & template

hostname
ping -c1 opendns.com

/usr/libexec/locate.updatedb
date
sync
history -c
rm -f .history
shutdown -p now
^]

cd /data/guests/

xl des freebsd-ext2fs
tar cSf /data/templates/freebsd-ext2fs.tar freebsd-ext2fs/
rm -rf freebsd-ext2fs/

xl des freebsd-zfs
tar cSf /data/templates/freebsd-zfs.tar freebsd-zfs/
rm -rf freebsd-zfs/