X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=xenserver%2Fopenvswitch-xen.spec;h=de702addbbff95a054caa1b60e62057edeca7fc3;hb=daf2ebb30c2af023970172969366dea9ac787d7d;hp=97bf99ca037dc4275fb1b1124f1f468e08830aaf;hpb=d93ca2a0fdde23ef3e61bc34a9809f6c38239c45;p=sliver-openvswitch.git diff --git a/xenserver/openvswitch-xen.spec b/xenserver/openvswitch-xen.spec index 97bf99ca0..de702addb 100644 --- a/xenserver/openvswitch-xen.spec +++ b/xenserver/openvswitch-xen.spec @@ -226,12 +226,7 @@ done if [ "$1" = "1" ]; then # $1 = 2 for upgrade # Configure system to use Open vSwitch - echo vswitch > /etc/xensource/network.conf - - printf "\nYou MUST reboot the server NOW to complete the change to\n" - printf "Open vSwitch. Attempts to modify networking on the server\n" - printf "or any hosted VM will fail until after the reboot and could\n" - printf "leave the server in a state requiring manual recovery.\n\n" + xe-switch-network-backend vswitch else mode=$(cat /etc/xensource/network.conf) @@ -310,12 +305,7 @@ if [ "$1" = "0" ]; then # $1 = 1 for upgrade rmdir -p /usr/lib/openvswitch/xs-saved 2>/dev/null # Configure system to use bridge - echo bridge > /etc/xensource/network.conf - - printf "\nYou MUST reboot the server now to complete the change to\n" - printf "standard Xen networking. Attempts to modify networking on the\n" - printf "server or any hosted VM will fail until after the reboot and\n" - printf "could leave the server in a state requiring manual recovery.\n\n" + xe-switch-network-backend bridge fi %files