[node-patches] Change in ovirt-node[master]: kdump_page: enable "ssh_key" entry when selecting "SSH" type

hadong0720 at gmail.com hadong0720 at gmail.com
Mon Feb 17 09:11:59 UTC 2014


hadong has uploaded a new change for review.

Change subject: kdump_page: enable "ssh_key" entry when selecting "SSH" type
......................................................................

kdump_page: enable "ssh_key" entry when selecting "SSH" type

Change-Id: I1d03271f75681e0b7d0279d123538d56e12a698d
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1065898
Signed-off-by: hadong <hadong0720 at gmail.com>
---
M src/ovirt/node/setup/core/kdump_page.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/37/24537/1

diff --git a/src/ovirt/node/setup/core/kdump_page.py b/src/ovirt/node/setup/core/kdump_page.py
index 55e23de..7c2e78f 100644
--- a/src/ovirt/node/setup/core/kdump_page.py
+++ b/src/ovirt/node/setup/core/kdump_page.py
@@ -136,6 +136,8 @@
             if w in net_types and w in self.widgets:
                 self.widgets[w].enabled(True)
                 self.widgets[w].value(self._model[w])
+                if w == "kdump.ssh_location":
+                    self.widgets["kdump.ssh_key"].enabled(True)
 
     def on_merge(self, effective_changes):
         """Applies the changes to the plugins model, will do all required logic


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1d03271f75681e0b7d0279d123538d56e12a698d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>



More information about the node-patches mailing list