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

Change subject: vdsmhooks: fix package file search
......................................................................

vdsmhooks: fix package file search

Change-Id: Ibaad04786feb92c6ce94058e48ecb8d264b42975
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M ChangeLog
M src/plugins/ovirt-host-deploy/vdsmhooks/hooks.py
2 files changed, 2 insertions(+), 1 deletion(-)


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

diff --git a/ChangeLog b/ChangeLog
index f86b7cc..7ff7a41 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
 ????-??-?? - Version 1.3.0
 
+ * vdsmhooks: fix package file search.
 
 2014-05-02 - Version 1.2.1
 
diff --git a/src/plugins/ovirt-host-deploy/vdsmhooks/hooks.py 
b/src/plugins/ovirt-host-deploy/vdsmhooks/hooks.py
index 67080f6..6eb02e5 100644
--- a/src/plugins/ovirt-host-deploy/vdsmhooks/hooks.py
+++ b/src/plugins/ovirt-host-deploy/vdsmhooks/hooks.py
@@ -102,7 +102,7 @@
                 if name.endswith(
                     platform.linux_distribution(full_distribution_name=0)[0]
                 ):
-                    with open(name, 'r') as f:
+                    with open(os.path.join(pluginpackagesdir, name), 'r') as f:
                         for package in f:
                             self.packager.installUpdate(package)
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibaad04786feb92c6ce94058e48ecb8d264b42975
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