From 726af5c11e1b8270e1f0246d5d9c0e0789d44026 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Sat, 18 Oct 2008 17:20:15 -0400 Subject: [PATCH] Correctly pass the CD image onto xm create in sipb-xen-remctl-auto svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1128 --- debian/changelog | 6 ++++++ files/usr/sbin/sipb-xen-vmcontrol | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 151c986..5ef72a3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sipb-xen-remctl-auto (1.4) unstable; urgency=low + + * Correctly extract the CDROM image from the remctl arguments + + -- Evan Broder Sat, 18 Oct 2008 17:19:57 -0400 + sipb-xen-remctl-auto (1.3.1) unstable; urgency=low * Quote the installer arguments correctly diff --git a/files/usr/sbin/sipb-xen-vmcontrol b/files/usr/sbin/sipb-xen-vmcontrol index 6520940..081afd2 100755 --- a/files/usr/sbin/sipb-xen-vmcontrol +++ b/files/usr/sbin/sipb-xen-vmcontrol @@ -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 -- 1.7.9.5