Alon Bar-Lev has uploaded a new change for review.

Change subject: node: minor cleanups
......................................................................

node: minor cleanups

Change-Id: If7fd8f4457fbcc9847da8eb82477bc2dcbfe9dba
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M src/plugins/ovirt-host-deploy/node/detect.py
1 file changed, 4 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy 
refs/changes/68/33068/1

diff --git a/src/plugins/ovirt-host-deploy/node/detect.py 
b/src/plugins/ovirt-host-deploy/node/detect.py
index 35dc0ab..b850465 100644
--- a/src/plugins/ovirt-host-deploy/node/detect.py
+++ b/src/plugins/ovirt-host-deploy/node/detect.py
@@ -99,14 +99,12 @@
         self.environment[
             odeploycons.VdsmEnv.OVIRT_NODE_HAS_OWN_BRIDGES
         ] = len(glob.glob('/sys/class/net/br*/bridge/bridge_id')) != 0
-        self.environment.setdefault(
-            odeploycons.CoreEnv.OFFLINE_PACKAGER,
-            self.environment[
-                odeploycons.VdsmEnv.OVIRT_NODE
-            ]
-        )
 
         if self.environment[odeploycons.VdsmEnv.OVIRT_NODE]:
+            self.environment.setdefault(
+                odeploycons.CoreEnv.OFFLINE_PACKAGER,
+                True
+            )
             self.environment[
                 odeploycons.VdsmEnv.NODE_PLUGIN_VDSM_VERSION
             ] = self._get_node_plugin_version(


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If7fd8f4457fbcc9847da8eb82477bc2dcbfe9dba
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to