Create and destroy conserver consoles through a Python script,
[invirt/packages/invirt-remote.git] / files / usr / sbin / sipb-xen-vmcontrol
index 4d055bb..1183134 100755 (executable)
@@ -19,7 +19,6 @@ case "$ACTION" in
        ;;
     destroy|shutdown)
        xm "$ACTION" "$MACHINE"
-       rm "/etc/conserver/conf.d/$MACHINE"
        /usr/sbin/sipb-xen-update-conserver
        ;;
     install|create|reboot)
@@ -39,7 +38,6 @@ case "$ACTION" in
        else
            xm create sipb-database machine_name="$ORIGMACHINE"
        fi
-       echo "console $ORIGMACHINE {}" >"/etc/conserver/conf.d/$MACHINE"
        /usr/sbin/sipb-xen-update-conserver
        ;;
     list-long)