-
Notifications
You must be signed in to change notification settings - Fork 27
Building the VM
Pellaeon Lin edited this page Oct 23, 2013
·
8 revisions
pkg_add -r py27-distribute rehash easy_install eventlet easy_install iso8601
fetch https://raw.github.com/pellaeon/bsd-cloudinit-installer/master/installer.sh chmod +x installer.sh ./installer.sh
In virt-manager change IOs to VIRTIO, FreeBSD 9.2+ GENERIC kernel have drivers for them.
- Disk:
vtbd
, changeada
tovtbd
in/etc/fstab
- NIC:
vtnet
echo 'ifconfig_vtnet0="DHCP"' >> /etc/rc.conf
So that bsd-cloudinit could grow it on first boot.
We don't need SWAP.
echo 'console="comsonsole,vidconsole"' >> /boot/loader.conf
echo 'autoboot_delay="4"' >> /boot/loader.conf
Shrink disk to make the image smaller. But currently it is not possible with UFS.