[node-patches] Change in ovirt-node[master]: setup: Notice when net down on KDUMP page

fabiand at fedoraproject.org fabiand at fedoraproject.org
Fri Oct 19 13:21:12 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: setup: Notice when net down on KDUMP page
......................................................................

setup: Notice when net down on KDUMP page

Display that SSH/NFS can not be configured because the network is down.

Change-Id: I8fe94b5a90e6285494929666e02642e6272a78e4
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirt-config-setup.py
1 file changed, 4 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/77/8677/1

diff --git a/scripts/ovirt-config-setup.py b/scripts/ovirt-config-setup.py
index 1180bf2..c099231 100755
--- a/scripts/ovirt-config-setup.py
+++ b/scripts/ovirt-config-setup.py
@@ -1359,14 +1359,13 @@
     def kdump_configuration_page(self, screen):
         elements = Grid(2, 12)
         heading = Label("Kernel Dump")
+        if not network_up():
+            heading = Label("Network Down, SSH/NFS KDump Configuration " +
+                            "disabled")
         if is_console():
             heading.setColors(customColorset(1))
         elements.setField(heading, 0, 0, anchorLeft=1)
-        if not network_up():
-            elements.setField(Label(" * Network Down, Configuration " +
-                              "Disabled * "), 0, 1, anchorLeft=1)
-        else:
-            elements.setField(Label(" "), 0, 1, anchorLeft=1)
+        elements.setField(Label(" "), 0, 1, anchorLeft=1)
         kdump_type_grid = Grid(5, 2)
         self.kdump_nfs_type = Checkbox("NFS ")
         self.kdump_nfs_type.setCallback(self.kdump_nfs_callback)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8fe94b5a90e6285494929666e02642e6272a78e4
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