Ignore:
Timestamp:
Oct 18, 2008, 5:20:15 PM (16 years ago)
Author:
broder
Message:

Correctly pass the CD image onto xm create in sipb-xen-remctl-auto

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-remctl-auto/files/usr/sbin/sipb-xen-vmcontrol

    r1097 r1128  
    3131        if [ "$ACTION" = "install" ]; then
    3232            xm create sipb-database machine_name="$ORIGMACHINE" installer_options="$(printf '%q ' "$@")"
    33 #       elif [ "$ACTION" = "copy" ]; then
    34 #           sipb-xen-duplicate ...etc...
    35         elif [ -n "$ARG" ]; then
    36             xm create sipb-database machine_name="$ORIGMACHINE" cdrom_image="$ARG"
     33        elif [ -n "$1" ]; then
     34            xm create sipb-database machine_name="$ORIGMACHINE" cdrom_image="$1"
    3735        else
    3836            xm create sipb-database machine_name="$ORIGMACHINE"
Note: See TracChangeset for help on using the changeset viewer.