--- xenserver/openvswitch-xen.spec | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/xenserver/openvswitch-xen.spec b/xenserver/openvswitch-xen.spec index 7a2e176..c445f3d 100644 --- a/xenserver/openvswitch-xen.spec +++ b/xenserver/openvswitch-xen.spec @@ -235,6 +235,14 @@ if [ "$1" = "1" ]; then # $1 = 2 for upgrade else printf "\nTo use the new Open vSwitch install, you should reboot the\n" printf "server now. Failure to do so may result in incorrect operation." + + mode=$(cat /etc/xensource/network.conf) + if [ "$mode" != "vswitch" ]; then + printf "\n\nThe server is not configured to run Open vSwitch. To run in\n" + printf "vswitch mode you must run the following command before rebooting.\n" + printf "echo vswitch > /etc/xensource/network.conf" + fi + printf "\n\n" fi -- 1.7.4.2 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev