Alex Lourie has uploaded a new change for review.

Change subject: packaging: setup: saving memcheck parameter to answer file
......................................................................

packaging: setup: saving memcheck parameter to answer file

This new implementation allows saving memcheck parameter to answer
file during setup. This helps skipping the check when using False
value in the answerfile.

Change-Id: I351b129c396d34fb1def8a8ddd1180e21aeeab14
Bug-Url: https://bugzilla.redhat.com/993698
Signed-off-by: Alex Lourie <alou...@redhat.com>
---
M packaging/setup/ovirt_engine_setup/constants.py
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/69/18669/1

diff --git a/packaging/setup/ovirt_engine_setup/constants.py 
b/packaging/setup/ovirt_engine_setup/constants.py
index aa820ca..375ad52 100644
--- a/packaging/setup/ovirt_engine_setup/constants.py
+++ b/packaging/setup/ovirt_engine_setup/constants.py
@@ -766,7 +766,11 @@
 
     SHMMAX = 'OVESETUP_SYSTEM/shmmax'
 
-    MEMCHECK_ENABLED = 'OVESETUP_SYSTEM/memCheckEnabled'
+    @osetupattrs(
+        answerfile=True,
+    )
+    def MEMCHECK_ENABLED(self):
+        return 'OVESETUP_SYSTEM/memCheckEnabled'
     MEMCHECK_MINIMUM_MB = 'OVESETUP_SYSTEM/memCheckMinimumMB'
     MEMCHECK_RECOMMENDED_MB = 'OVESETUP_SYSTEM/memCheckRecommendedMB'
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I351b129c396d34fb1def8a8ddd1180e21aeeab14
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alex Lourie <alou...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to