Changeset 212 for trunk/packages


Ignore:
Timestamp:
Oct 27, 2007, 4:55:25 PM (17 years ago)
Author:
tabbott
Message:

don't reboot machine when create a running VM.

Location:
trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/debian/changelog

    r199 r212  
     1sipb-xen-remctl-auto (1.0.6) unstable; urgency=low
     2
     3  * get rid of old "vmboot" call
     4  * make "create" not destroy running machines.
     5
     6 -- Tim Abbott <tabbott@sipb-xen-dev.mit.edu>  Sat, 27 Oct 2007 16:54:26 -0400
     7
    18sipb-xen-remctl-auto (1.0.5) unstable; urgency=low
    29
  • trunk/packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/usr/sbin/sipb-xen-vmcontrol

    r196 r212  
    1818        xm "$ACTION" "$MACHINE"
    1919        ;;
    20     reboot|create|vmboot)
    21         xm destroy "$MACHINE" 2>/dev/null
     20    create|reboot)
     21        if [ "$ACTION" = "reboot" ]; then
     22            xm destroy "$MACHINE" 2>/dev/null
     23        else
     24            xm list "$MACHINE" >/dev/null 2>/dev/null && echo "$MACHINE already exists" && exit 1
     25        fi     
    2226        if [ -n "$3" ]; then
    2327            xm create sipb-database machine_name="$ORIGMACHINE" cdrom_image="$3"
Note: See TracChangeset for help on using the changeset viewer.