Nerdier

Adjective: Comparative form of nerdy: more nerdy.

Xen/fstab config for a Stacklet Image.

This is the config you need to get your stacklet image booting with swap on Xen.

/etc/xen/<config file>

bootloader = "/usr/bin/pygrub"
memory = 768
name = "<name>"
vif = [ 'bridge=<bridge>, mac=<mac address>' ]
disk = ['phy:vg/<name>,xvda,w','phy:vg/<name>-swap,xvdb,w']
root = "/dev/xvda"
extra = "fastboot"
vcpus = 4
acpi = 0

/etc/fstab on the image

/dev/xvda      /             ext4     defaults,errors=remount-ro 1 1
proc            /proc         proc     defaults                   0 0
devpts          /dev/pts      devpts   gid=5,mode=620             0 0
/dev/xvdb swap swap defaults 0 0

 

Leave a Reply

Your email address will not be published. Required fields are marked *