]> scripts.mit.edu Git - xen.git/commitdiff
Don't specify mac5 at create-time any more.
authorroot <root@not-forward.mit.edu>
Sat, 27 Jun 2009 22:09:19 +0000 (18:09 -0400)
committerroot <root@not-forward.mit.edu>
Sat, 27 Jun 2009 22:09:19 +0000 (18:09 -0400)
Add not-backward.
Allow specification of memory at create-time.

scripts-server

index a56c0732423bc409ee5e9ae536702886317a06df..67248b41d46568015f645e77a75b35e36accf432 100644 (file)
@@ -1,14 +1,16 @@
 # Xen domain configuration file for scripts.mit.edu virtualized web servers
 #
 # usage, e.g.:
-#   xm create scripts-server machine_name=bees-knees mac5=10
-#   xm create scripts-server machine_name=cats-whiskers mac5=20
+#   xm create scripts-server machine_name=bees-knees
+#   xm create scripts-server machine_name=cats-whiskers
 # 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=fcX if you want to run a Fedora install
+# set install=fcX if you want to run a Fedora install, where X
+# is the version of Fedora to install
 
 macs = { 'bees-knees'   : 10,
-         'cats-whiskers': 20
+         'cats-whiskers': 20,
+         'not-backward' : 30,
        }
 mac5 = macs[machine_name]
 
@@ -27,7 +29,7 @@ else:
   bootloader = "/usr/bin/pygrub"
 
 vcpus = 2
-memory = 4096
+if 'memory' not in locals(): memory = 4096
 maxmem = 16384
 name = machine_name
 vg = "not-forward"