[node-patches] Change in ovirt-node[master]: setup.security: Fix UI labeling/logic

fabiand at fedoraproject.org fabiand at fedoraproject.org
Tue Dec 11 20:09:44 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: setup.security: Fix UI labeling/logic
......................................................................

setup.security: Fix UI labeling/logic

Change-Id: Iadb440ed1639d3cd6e5c6ec2b15c37835f558f9a
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/tui/src/ovirt/node/setup/security_page.py
1 file changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/78/9978/1

diff --git a/scripts/tui/src/ovirt/node/setup/security_page.py b/scripts/tui/src/ovirt/node/setup/security_page.py
index b58ddee..d4e95f4 100644
--- a/scripts/tui/src/ovirt/node/setup/security_page.py
+++ b/scripts/tui/src/ovirt/node/setup/security_page.py
@@ -42,7 +42,7 @@
         self.logger.debug(cfg)
         model = {
             "ssh.pwauth": cfg["pwauth"] or False,
-            "strongrng.aesni": cfg["disable_aesni"] or False,
+            "strongrng.disable_aesni": cfg["disable_aesni"] or False,
             "strongrng.num_bytes": cfg["num_bytes"] or "",
             "passwd.admin.password": "",
             "passwd.admin.password_confirmation": "",
@@ -64,7 +64,7 @@
             ("ssh.pwauth", ui.Checkbox("Enable SSH password authentication")),
 
             ("header[1]", ui.Header("Strong Random Number Generator")),
-            ("strongrng.aesni", ui.Checkbox("Enable AES-NI")),
+            ("strongrng.disable_aesni", ui.Checkbox("Disable AES-NI")),
             ("strongrng.num_bytes", ui.Entry("Bytes Used:")),
 
             ("header[2]", ui.Header("Local Access")),
@@ -101,7 +101,8 @@
         self.logger.debug("Remote security model: %s" %
                           effective_model.changes)
 
-        ssh_keys = ["ssh.pwauth", "strongrng.num_bytes", "strongrng.aesni"]
+        ssh_keys = ["ssh.pwauth", "strongrng.num_bytes",
+                    "strongrng.disable_aesni"]
         passwd_keys = ["passwd.admin.password",
                        "passwd.admin.password_confirmation"]
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iadb440ed1639d3cd6e5c6ec2b15c37835f558f9a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list