Changeset 1723 for trunk/packages
- Timestamp:
- Nov 20, 2008, 10:46:49 PM (16 years ago)
- Location:
- trunk/packages/invirt-remote-host
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-remote-host/debian/changelog
r1716 r1723 1 invirt-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 1 7 invirt-remote-host (0.0.8) unstable; urgency=low 2 8 -
trunk/packages/invirt-remote-host/files/usr/sbin/invirt-vmcontrol
r1397 r1723 18 18 xm "$ACTION" "$MACHINE" 19 19 ;; 20 destroy|shutdown )20 destroy|shutdown|reboot) 21 21 xm "$ACTION" "$MACHINE" 22 22 /usr/sbin/invirt-update-conserver </dev/null >/dev/null 2>&1 & 23 23 ;; 24 install|create |reboot)24 install|create) 25 25 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 31 27 if [ "$ACTION" = "install" ]; then 32 28 xm create invirt-database machine_name="$ORIGMACHINE" installer_options="$(printf '%q ' "$@")"
Note: See TracChangeset
for help on using the changeset viewer.