X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/blobdiff_plain/cde3464f172dc386863b91ccf890b151e6e6a624..3bfc276f6bc7af5cfefdecb45b4e9c73dd5e6711:/files/usr/sbin/sipb-xen-vmcontrol diff --git a/files/usr/sbin/sipb-xen-vmcontrol b/files/usr/sbin/sipb-xen-vmcontrol index cf11c4f..0c4d0e1 100755 --- a/files/usr/sbin/sipb-xen-vmcontrol +++ b/files/usr/sbin/sipb-xen-vmcontrol @@ -27,7 +27,7 @@ case "$ACTION" in fi if [ "$ACTION" = "install" ]; then xm create sipb-database machine_name="$ORIGMACHINE" installer="$ARG" installer_options="$MOREARGS" - elif [ -n "$3" ]; then + elif [ -n "$ARG" ]; then xm create sipb-database machine_name="$ORIGMACHINE" cdrom_image="$ARG" else xm create sipb-database machine_name="$ORIGMACHINE"