Michael Burns has uploaded a new change for review.

Change subject: ensure NetworkManager is disabled in F19
......................................................................

ensure NetworkManager is disabled in F19

Change-Id: I865fb014104aef16510daf3a535e705a72d78709
Signed-off-by: Mike Burns <[email protected]>
---
M ovirt-node-plugin-vdsm.spec.in
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node-plugin-vdsm 
refs/changes/51/17351/1

diff --git a/ovirt-node-plugin-vdsm.spec.in b/ovirt-node-plugin-vdsm.spec.in
index 171f058..335f717 100644
--- a/ovirt-node-plugin-vdsm.spec.in
+++ b/ovirt-node-plugin-vdsm.spec.in
@@ -1,3 +1,5 @@
+%define is_f19 %(test "0%{?fedora}" -eq "019" && echo 1 || echo 0)
+
 Summary:        A plugin to make oVirt Node installs compatible with oVirt 
Engine and vdsm
 Name:           ovirt-node-plugin-vdsm
 Version:        @VERSION@
@@ -74,6 +76,11 @@
                        virt_use_sanlock=1 \
                        sanlock_use_nfs=1
 
+# ensure Network Manager is disabled
+%if %{is_f19}
+/usr/bin/systemctl stop NetworkManager.service
+/usr/bin/systemctl disable NetworkManager.service
+%endif
 
 %preun
 


-- 
To view, visit http://gerrit.ovirt.org/17351
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I865fb014104aef16510daf3a535e705a72d78709
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-plugin-vdsm
Gerrit-Branch: master
Gerrit-Owner: Michael Burns <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to