Sandro Bonazzola has uploaded a new change for review.

Change subject: packaging: setup: save network config
......................................................................

packaging: setup: save network config

Call explicitly setSafeNetworkConfig, ensuring network
configuration persistence after reboot.

Change-Id: I338e0d0152e467448f1ba940f0a1514ce4422b1d
Bug-Url: https://bugzilla.redhat.com/1079633
Signed-off-by: Sandro Bonazzola <[email protected]>
(cherry picked from commit c0e9c960203276fbcc6326380e37790f13a6fbde)
---
M src/plugins/ovirt-hosted-engine-setup/network/bridge.py
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-setup 
refs/changes/29/26029/1

diff --git a/src/plugins/ovirt-hosted-engine-setup/network/bridge.py 
b/src/plugins/ovirt-hosted-engine-setup/network/bridge.py
index befd04d..01b20f8 100644
--- a/src/plugins/ovirt-hosted-engine-setup/network/bridge.py
+++ b/src/plugins/ovirt-hosted-engine-setup/network/bridge.py
@@ -241,6 +241,12 @@
             cmd,
             raiseOnError=True
         )
+        status = self.environment[
+            ohostedcons.VDSMEnv.VDS_CLI
+        ].s.setSafeNetworkConfig()
+        self.logger.debug(status)
+        if status['status']['code'] != 0:
+            raise RuntimeError(status['status']['message'])
 
         for state in (False, True):
             self.services.state(


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I338e0d0152e467448f1ba940f0a1514ce4422b1d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: ovirt-hosted-engine-setup-1.1
Gerrit-Owner: Sandro Bonazzola <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to