Yedidyah Bar David has uploaded a new change for review.

Change subject: packaging: setup: Generate answer file at cleanup
......................................................................

packaging: setup: Generate answer file at cleanup

Generate answer file at end of stage Cleanup instead of stage Closeup.

Stage Cleanup is always executed at the end of the run, so the answer
file will always be generated - even if e.g. user chooses 'Cancel' at
the end of "CONFIGURATION PREVIEW", or presses ^C at any point.

Change-Id: I4b6af75001eb3192e6839e57dbb7446344ff29f4
Bug-Url: https://bugzilla.redhat.com/1062717
Signed-off-by: Yedidyah Bar David <[email protected]>
---
M packaging/setup/plugins/ovirt-engine-common/base/core/answerfile.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/83/25783/1

diff --git 
a/packaging/setup/plugins/ovirt-engine-common/base/core/answerfile.py 
b/packaging/setup/plugins/ovirt-engine-common/base/core/answerfile.py
index 53726c1..415e7c2 100644
--- a/packaging/setup/plugins/ovirt-engine-common/base/core/answerfile.py
+++ b/packaging/setup/plugins/ovirt-engine-common/base/core/answerfile.py
@@ -50,10 +50,10 @@
         )
 
     @plugin.event(
-        stage=plugin.Stages.STAGE_CLOSEUP,
+        stage=plugin.Stages.STAGE_CLEANUP,
         priority=plugin.Stages.PRIORITY_LAST,
     )
-    def _closeup(self):
+    def _cleanup(self):
         answers = []
         answers.append(
             os.path.join(


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4b6af75001eb3192e6839e57dbb7446344ff29f4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Yedidyah Bar David <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to