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

fabiand at redhat.com fabiand at redhat.com
Thu Nov 26 16:57:31 UTC 2015


Fabian Deutsch 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/65/49265/1

diff --git a/src/ovirtnode/ovirtfunctions.py b/src/ovirtnode/ovirtfunctions.py
index 5d2aa56..d07eeb8 100644
--- a/src/ovirtnode/ovirtfunctions.py
+++ b/src/ovirtnode/ovirtfunctions.py
@@ -1215,8 +1215,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/49265
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ife1308fa2d5c2ce4f9f3c3984ed27cf7fa3981f4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.6
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list