]> scripts.mit.edu Git - xen.git/blob - scripts-server
Allow memory to balloon to 8GiB
[xen.git] / scripts-server
1 # Xen domain configuration file for scripts.mit.edu virtualized web servers
2 #
3 # usage, e.g.:
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
8
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"
14 else:
15   # Fedora installs GRUB.
16   bootloader = "/usr/bin/pygrub"
17
18 memory = 1024
19 maxmem = 8192
20 name = machine_name
21 vg = "not-forward"
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']]