Skip to content

Commit 970afe9

Browse files
committed
Merge branch 'master' of git://hg.uk.xensource.com/carbon/trunk-ring0/xen-api
2 parents a55cb00 + 1139708 commit 970afe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/xe-switch-network-backend

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ fi
6060

6161
if [ "$new" = "openvswitch" ] ; then
6262
echo "Enabling openvswitch daemon"
63-
chkconfig --add openvswitch
63+
systemctl enable openvswitch.service openvswitch-xapi-sync.service
6464
else
6565
echo "Disabling openvswitch daemon"
66-
chkconfig --del openvswitch
66+
systemctl disable openvswitch.service openvswitch-xapi-sync.service
6767
fi
6868

6969
echo "Configure system for $new networking"

0 commit comments

Comments
 (0)