Correctly pass the CD image onto xm create in sipb-xen-remctl-auto sipb-xen-remctl-auto/1.4
authorEvan Broder <broder@mit.edu>
Sat, 18 Oct 2008 21:20:15 +0000 (17:20 -0400)
committerEvan Broder <broder@mit.edu>
Sat, 18 Oct 2008 21:20:15 +0000 (17:20 -0400)
svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1128

debian/changelog
files/usr/sbin/sipb-xen-vmcontrol

index 151c986..5ef72a3 100644 (file)
@@ -1,3 +1,9 @@
+sipb-xen-remctl-auto (1.4) unstable; urgency=low
+
+  * Correctly extract the CDROM image from the remctl arguments
+
+ -- Evan Broder <broder@mit.edu>  Sat, 18 Oct 2008 17:19:57 -0400
+
 sipb-xen-remctl-auto (1.3.1) unstable; urgency=low
 
   * Quote the installer arguments correctly
index 6520940..081afd2 100755 (executable)
@@ -30,10 +30,8 @@ case "$ACTION" in
        fi
        if [ "$ACTION" = "install" ]; then
            xm create sipb-database machine_name="$ORIGMACHINE" installer_options="$(printf '%q ' "$@")"
-#      elif [ "$ACTION" = "copy" ]; then
-#           sipb-xen-duplicate ...etc...
-       elif [ -n "$ARG" ]; then
-           xm create sipb-database machine_name="$ORIGMACHINE" cdrom_image="$ARG"
+       elif [ -n "$1" ]; then
+           xm create sipb-database machine_name="$ORIGMACHINE" cdrom_image="$1"
        else
            xm create sipb-database machine_name="$ORIGMACHINE"
        fi