Ignore:
Timestamp:
Nov 20, 2008, 10:46:49 PM (16 years ago)
Author:
broder
Message:

Use xm reboot instead of a destroy and create to reboot VMs

Location:
trunk/packages/invirt-remote-host
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-remote-host/debian/changelog

    r1716 r1723  
     1invirt-remote-host (0.0.9) unstable; urgency=low
     2
     3  * Use `xm reboot` for reboots instead of a destroy and create
     4
     5 -- Evan Broder <broder@mit.edu>  Thu, 20 Nov 2008 10:54:13 -0500
     6
    17invirt-remote-host (0.0.8) unstable; urgency=low
    28
  • trunk/packages/invirt-remote-host/files/usr/sbin/invirt-vmcontrol

    r1397 r1723  
    1818        xm "$ACTION" "$MACHINE"
    1919        ;;
    20     destroy|shutdown)
     20    destroy|shutdown|reboot)
    2121        xm "$ACTION" "$MACHINE"
    2222        /usr/sbin/invirt-update-conserver </dev/null >/dev/null 2>&1 &
    2323        ;;
    24     install|create|reboot)
     24    install|create)
    2525        shift; shift;
    26         if [ "$ACTION" = "reboot" ]; then
    27             xm destroy "$MACHINE" 2>/dev/null
    28         else
    29             xm list "$MACHINE" >/dev/null 2>/dev/null && echo "$MACHINE already exists" && exit 1
    30         fi
     26        xm list "$MACHINE" >/dev/null 2>/dev/null && echo "$MACHINE already exists" && exit 1
    3127        if [ "$ACTION" = "install" ]; then
    3228            xm create invirt-database machine_name="$ORIGMACHINE" installer_options="$(printf '%q ' "$@")"
Note: See TracChangeset for help on using the changeset viewer.