Changeset 223 for trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/usr/sbin/sipb-xen-vmcontrol
- Timestamp:
- Oct 28, 2007, 4:19:52 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/usr/sbin/sipb-xen-vmcontrol
r212 r223 18 18 xm "$ACTION" "$MACHINE" 19 19 ;; 20 create|reboot) 20 install|create|reboot) 21 ARG="$3" 22 shift; shift; shift; MOREARGS="$*" 21 23 if [ "$ACTION" = "reboot" ]; then 22 24 xm destroy "$MACHINE" 2>/dev/null 23 25 else 24 26 xm list "$MACHINE" >/dev/null 2>/dev/null && echo "$MACHINE already exists" && exit 1 25 fi 26 if [ -n "$3" ]; then 27 xm create sipb-database machine_name="$ORIGMACHINE" cdrom_image="$3" 27 fi 28 if [ "$ACTION" = "install" ]; then 29 xm create sipb-database machine_name="$ORIGMACHINE" installer="$ARG" installer_options="$MOREARGS" 30 elif [ -n "$3" ]; then 31 xm create sipb-database machine_name="$ORIGMACHINE" cdrom_image="$ARG" 28 32 else 29 33 xm create sipb-database machine_name="$ORIGMACHINE"
Note: See TracChangeset
for help on using the changeset viewer.