Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Configuration file for the Xen instance my-vm, created
- # by xen-tools 4.3.1 on Tue Nov 27 21:44:07 2012.
- #
- #
- # Kernel + memory size
- #
- kernel = '/boot/vmlinuz-3.2.0-4-amd64'
- ramdisk = '/initrd.img-3.2.0-4-amd64'
- vcpus = '1'
- memory = '1024'
- #
- # Disk device(s).
- #
- root = '/dev/xvda2 ro'
- # This isn't great I know. It's just a temporary workaround for a problem
- disk = [
- 'file:/opt/vms/vm.disk,xvda2,w',
- 'file:/opt/vms/vm.swap,xvda1,w',
- ]
- #
- # Hostname
- #
- name = 'my-vm'
- #
- # Networking
- #
- # Length of vifname is the same as in the actual .cfg. ip and mac are sensible too
- vif = [ 'vifname=vif-name-my-vm,ip=x.x.x.x ,mac=xx:xx:xx:xx:xx:xx' ]
- #
- # Behaviour
- #
- on_poweroff = 'destroy'
- on_reboot = 'restart'
- on_crash = 'restart'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement