Changeset 386 for trunk/packages/sipb-xen-remctl-auto/files
- Timestamp:
- Apr 2, 2008, 12:58:22 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-remctl-auto/files/usr/sbin/sipb-xen-vmcontrol
r224 r386 15 15 16 16 case "$ACTION" in 17 list|vcpu-list| destroy|uptime|shutdown)17 list|vcpu-list|uptime) 18 18 xm "$ACTION" "$MACHINE" 19 ;; 20 destroy|shutdown) 21 xm "$ACTION" "$MACHINE" 22 rm "/etc/conserver/conf.d/$MACHINE" 23 /usr/sbin/sipb-xen-update-conserver 19 24 ;; 20 25 install|create|reboot) … … 28 33 if [ "$ACTION" = "install" ]; then 29 34 xm create sipb-database machine_name="$ORIGMACHINE" installer="$ARG" installer_options="$MOREARGS" 35 # elif [ "$ACTION" = "copy" ]; then 36 # sipb-xen-duplicate ...etc... 30 37 elif [ -n "$ARG" ]; then 31 38 xm create sipb-database machine_name="$ORIGMACHINE" cdrom_image="$ARG" … … 33 40 xm create sipb-database machine_name="$ORIGMACHINE" 34 41 fi 42 echo "console $ORIGMACHINE {}" >"/etc/conserver/conf.d/$MACHINE" 43 /usr/sbin/sipb-xen-update-conserver 35 44 ;; 36 45 list-long)
Note: See TracChangeset
for help on using the changeset viewer.