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