-xend-config.sxp: isolate patch
-files/etc/xen/scripts/vif-sipbroute: isolate patch
-files/etc/xen/scripts/vif-sipbroute: gateway, interface (for arpspoof)
+sysvms/*: MAC addresses
+vif-sipbroute: isolate patch
+vif-sipbroute: gateway, interface (for arpspoof)
+invirt-xen-config (0.0.10) unstable; urgency=low
+
+ * Generate config files for sysvms
+
+ -- Evan Broder <broder@mit.edu> Fri, 31 Oct 2008 07:40:13 -0400
+
invirt-xen-config (0.0.9) unstable; urgency=low
* don't try to disable tx checksums for HVMs; it errors out
NAME="$PACKAGE"
DESC="Invirt Xen host"
PARENTPACKAGE=xend
-GEN_FILES=/etc/xen/xend-config.sxp.invirt
+GEN_FILES=(
+ /etc/xen/xend-config.sxp.invirt
+ /etc/xen/sysvms/s_master
+ /etc/xen/sysvms/s_remote
+ /etc/xen/sysvms/s_console
+ )
dpkg -s "$PACKAGE" >/dev/null 2>/dev/null || exit 0
qemu-ifup.invirt etc/xen
invirt-database etc/xen
vif-invirtroute etc/xen/scripts
+sysvms etc/xen
debian/xend-config.sxp.invirt.mako etc/xen
--- /dev/null
+<%
+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'
--- /dev/null
+<%
+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'
--- /dev/null
+<%
+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'