Skip to content
Pellaeon Lin edited this page Oct 23, 2013 · 8 revisions

Table of Contents

Python Environment

 pkg_add -r py27-distribute
 rehash
 easy_install eventlet
 easy_install iso8601

bsd-cloudinit-installer

 fetch https://raw.github.com/pellaeon/bsd-cloudinit-installer/master/installer.sh
 chmod +x installer.sh
 ./installer.sh

VIRTIO

In virt-manager change IOs to VIRTIO, FreeBSD 9.2+ GENERIC kernel have drivers for them.

  • Disk: vtbd, change ada to vtbd in /etc/fstab
  • NIC: vtnet

Enable DHCP

 echo 'ifconfig_vtnet0="DHCP"' >> /etc/rc.conf

/ has to be the last partition on disk

So that bsd-cloudinit could grow it on first boot.

We don't need SWAP.

Shrinking disks

Shrink disk to make the image smaller. But currently it is not possible with UFS.

Clone this wiki locally