Sandro Bonazzola has uploaded a new change for review.

Change subject: packaging: setup: write vm.conf also on additional hosts
......................................................................

packaging: setup: write vm.conf also on additional hosts

vm.conf can now be written by --deploy command just using
the answer file created on first host.

Change-Id: Ifa0eae56a9a6522f3683b85066ce651feadc51b5
Signed-off-by: Sandro Bonazzola <[email protected]>
---
M src/plugins/ovirt-hosted-engine-setup/vm/configurevm.py
1 file changed, 1 insertion(+), 4 deletions(-)


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

diff --git a/src/plugins/ovirt-hosted-engine-setup/vm/configurevm.py 
b/src/plugins/ovirt-hosted-engine-setup/vm/configurevm.py
index df32612..bbb7b4c 100644
--- a/src/plugins/ovirt-hosted-engine-setup/vm/configurevm.py
+++ b/src/plugins/ovirt-hosted-engine-setup/vm/configurevm.py
@@ -128,14 +128,11 @@
 
     @plugin.event(
         stage=plugin.Stages.STAGE_MISC,
+        name=ohostedcons.Stages.VM_CONFIGURED,
         after=(
             ohostedcons.Stages.VM_IMAGE_AVAILABLE,
             ohostedcons.Stages.BRIDGE_AVAILABLE,
         ),
-        name=ohostedcons.Stages.VM_CONFIGURED,
-        condition=lambda self: not self.environment[
-            ohostedcons.CoreEnv.IS_ADDITIONAL_HOST
-        ],
     )
     def _misc(self):
         self.logger.info(_('Configuring VM'))


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

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

Reply via email to