[node-patches] Change in ovirt-node[master]: Stop running hooks twice

rbarry at redhat.com rbarry at redhat.com
Wed Sep 16 19:13:23 UTC 2015


Ryan Barry has uploaded a new change for review.

Change subject: Stop running hooks twice
......................................................................

Stop running hooks twice

Hooks are already run as a transaction from ovirt-auto-install.
We don't need to do it here also.

Change-Id: Ife1308fa2d5c2ce4f9f3c3984ed27cf7fa3981f4
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M src/ovirtnode/ovirtfunctions.py
1 file changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/61/46261/1

diff --git a/src/ovirtnode/ovirtfunctions.py b/src/ovirtnode/ovirtfunctions.py
index d152bc1..f0f4e40 100644
--- a/src/ovirtnode/ovirtfunctions.py
+++ b/src/ovirtnode/ovirtfunctions.py
@@ -1203,8 +1203,6 @@
     # Cobbler XMLRPC post-install trigger (XXX is there cobbler SRV record?):
     # wget "http://192.168.50.2/cblr/svc/op/trig/mode/post/system/$(hostname)"
     #   -O /dev/null
-    if is_auto_install():
-        hooks.Hooks.post_auto_install()
     for f in ["/etc/ssh/ssh_host%s_key" % t for t in ["", "_dsa", "_rsa"]]:
         ovirt_store_config(f)
         ovirt_store_config("%s.pub" % f)


-- 
To view, visit https://gerrit.ovirt.org/46261
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ife1308fa2d5c2ce4f9f3c3984ed27cf7fa3981f4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list