move sysvms/* into xvm-prodconfig from invirt-xen-config
authorGreg Price <price@mit.edu>
Sat, 31 Jan 2009 02:18:05 +0000 (21:18 -0500)
committerGreg Price <price@mit.edu>
Sat, 31 Jan 2009 02:18:05 +0000 (21:18 -0500)
svn path=/trunk/packages/xvm-prodconfig/; revision=2039

debian/changelog
debian/xvm-prodconfig.install
sysvms/s_console.mako [new file with mode: 0644]
sysvms/s_master.mako [new file with mode: 0644]
sysvms/s_remote.mako [new file with mode: 0644]

index c449c2a..83f4ea2 100644 (file)
@@ -1,3 +1,9 @@
+xvm-prodconfig (1.1.8) unstable; urgency=low
+
+  * Move sysvms/* into xvm-prodconfig from invirt-xen-config
+
+ -- Greg Price <price@mit.edu>  Fri, 30 Jan 2009 21:14:43 -0500
+
 xvm-prodconfig (1.1.7) unstable; urgency=low
 
   * Activate the invirt-reload trigger instead of running invirt-reload
index e8149c3..45182a8 100644 (file)
@@ -1,2 +1,3 @@
 master.yaml etc/invirt
 zone etc/invirt
+sysvms etc/xen
diff --git a/sysvms/s_console.mako b/sysvms/s_console.mako
new file mode 100644 (file)
index 0000000..b10212c
--- /dev/null
@@ -0,0 +1,22 @@
+<%
+from invirt.config import structs as cfg
+%>
+import os
+
+release     = os.uname()[2]
+kernel      = '/boot/vmlinuz-%s' % release
+ramdisk     = '/boot/initrd.img-%s' % release
+memory      = '256'
+
+disk        = ['phy:xenvg/s_console_hda,hda,w']
+
+name        = 's_console'
+
+vif         = [ 'ip=${cfg.console.ip},mac=00:16:3E:7E:E4:DE' ]
+
+on_poweroff = 'destroy'
+on_reboot   = 'restart'
+on_crash    = 'restart'
+
+root = '/dev/hda1 ro'
+extra = '2 console=xvc0'
diff --git a/sysvms/s_master.mako b/sysvms/s_master.mako
new file mode 100644 (file)
index 0000000..192f249
--- /dev/null
@@ -0,0 +1,23 @@
+<%
+from invirt.config import structs as cfg
+%>
+import os
+
+release     = os.uname()[2]
+kernel      = '/boot/vmlinuz-%s' % release
+ramdisk     = '/boot/initrd.img-%s' % release
+memory      = '1024'
+
+disk        = ['phy:xenvg/s_master_hda,hda,w',
+               'phy:xenvg/s_master_hdb,hdb,w']
+
+name        = 's_master'
+
+vif         = [ 'ip=${cfg.db.ip},mac=00:16:3E:5F:C1:D4' ]
+
+on_poweroff = 'destroy'
+on_reboot   = 'restart'
+on_crash    = 'restart'
+
+root       = '/dev/hda1 ro'
+extra = '2 console=xvc0'
diff --git a/sysvms/s_remote.mako b/sysvms/s_remote.mako
new file mode 100644 (file)
index 0000000..d710e46
--- /dev/null
@@ -0,0 +1,22 @@
+<%
+from invirt.config import structs as cfg
+%>
+import os
+
+release     = os.uname()[2]
+kernel      = '/boot/vmlinuz-%s' % release
+ramdisk     = '/boot/initrd.img-%s' % release
+memory      = '512'
+
+disk        = ['phy:xenvg/s_remote_hda,hda,w']
+
+name        = 's_remote'
+
+vif         = [ 'ip=${cfg.remote.ip},mac=00:16:3E:7F:C2:55' ]
+
+on_poweroff = 'destroy'
+on_reboot   = 'restart'
+on_crash    = 'restart'
+
+root = "/dev/hda1 ro"
+extra = '2 console=xvc0'