6 # Should be enough for base image, image can be resized in needed
9 # Set to a list of third-party software to enable in rc.conf(5).
10 export VM_RC_LIST="sshd growfs"
12 vm_extra_pre_umount() {
13 cat << EOF >> ${DESTDIR}/etc/rc.conf
15 ifconfig_DEFAULT="DHCP"
19 cat << EOF >> ${DESTDIR}/boot/loader.conf
23 console="comconsole,vidconsole"
25 cat <<EOF >> ${DESTDIR}/etc/ssh/sshd_config
27 PasswordAuthentication yes
28 PermitEmptyPasswords yes
32 touch ${DESTDIR}/firstboot