1 # Xen domain configuration file for scripts.mit.edu virtualized web servers
4 # xm create scripts-server machine_name=bees-knees mac5=10
5 # name is the name of the server (as used in the LV volumes)
6 # mac5 is the fifth octet of the MAC address: ac:de:48:00:xx:01
7 # set install=1 if you want to run a Fedora install
9 if 'install' in locals():
10 # Get these files from a Fedora mirror, in
11 # fedora/linux/releases/9/Fedora/x86_64/os/images/xen/
12 kernel = "/root/fc9-install/vmlinuz"
13 ramdisk = "/root/fc9-install/initrd.img"
15 # Fedora installs GRUB.
16 bootloader = "/usr/bin/pygrub"
22 disk = [i % (vg, name) for i in ['phy:/dev/%s/%s-root,hda,w',
23 'phy:/dev/%s/%s-swap,hdb,w']]
24 vif = [i % mac5 for i in ['bridge=eth0, mac=ac:de:48:00:%s:01',
25 'bridge=eth1, mac=ac:de:48:00:%s:02']]