Correctly calculate the lists of both the sysvms to startup and the 0.0.22
authorEvan Broder <broder@mit.edu>
Mon, 2 Feb 2009 22:32:27 +0000 (17:32 -0500)
committerEvan Broder <broder@mit.edu>
Mon, 2 Feb 2009 22:32:27 +0000 (17:32 -0500)
Mako templates to render in the invirt-xen-config startup script.

svn path=/trunk/packages/invirt-xen-config/; revision=2085

debian/changelog
debian/invirt-xen-config.init

index 1957d9c..a6e9e4d 100644 (file)
@@ -1,3 +1,10 @@
+invirt-xen-config (0.0.22) unstable; urgency=low
+
+  * Correctly calculate both the list of sysvms to boot and the list of
+    Mako templates to render in the init script.
+
+ -- Evan Broder <broder@mit.edu>  Mon, 02 Feb 2009 17:30:51 -0500
+
 invirt-xen-config (0.0.21) unstable; urgency=low
 
   * Move sysvms/* into xvm-prodconfig from invirt-xen-config
index 0613ff9..567d7d2 100755 (executable)
@@ -13,9 +13,10 @@ PACKAGE=invirt-xen-config
 NAME="$PACKAGE"
 DESC="Invirt Xen host"
 PARENTPACKAGE=xend
-SYSVM_FILES=(/etc/xen/sysvms/s_*)
+SYSVM_TEMPLATES=(/etc/xen/sysvms/s_*.mako)
+SYSVM_FILES=("${SYSVM_TEMPLATES[@]/.mako/}")
 SYSVMS=("${SYSVM_FILES[@]/#\/etc\/xen\/sysvms\/}")
-GEN_FILES=(/etc/xen/xend-config.sxp.invirt)
+GEN_FILES=(/etc/xen/xend-config.sxp.invirt "${SYSVM_FILES[@]}")
 
 dpkg -s "$PACKAGE" >/dev/null 2>/dev/null || exit 0