Ignore:
Timestamp:
Apr 2, 2008, 12:58:22 AM (17 years ago)
Author:
broder
Message:

Change to using conserver instead of ssh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-remctl-auto/files/usr/sbin/sipb-xen-vmcontrol

    r224 r386  
    1515
    1616case "$ACTION" in
    17     list|vcpu-list|destroy|uptime|shutdown)
     17    list|vcpu-list|uptime)
    1818        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
    1924        ;;
    2025    install|create|reboot)
     
    2833        if [ "$ACTION" = "install" ]; then
    2934            xm create sipb-database machine_name="$ORIGMACHINE" installer="$ARG" installer_options="$MOREARGS"
     35#       elif [ "$ACTION" = "copy" ]; then
     36#           sipb-xen-duplicate ...etc...
    3037        elif [ -n "$ARG" ]; then
    3138            xm create sipb-database machine_name="$ORIGMACHINE" cdrom_image="$ARG"
     
    3340            xm create sipb-database machine_name="$ORIGMACHINE"
    3441        fi
     42        echo "console $ORIGMACHINE {}" >"/etc/conserver/conf.d/$MACHINE"
     43        /usr/sbin/sipb-xen-update-conserver
    3544        ;;
    3645    list-long)
Note: See TracChangeset for help on using the changeset viewer.