[node-patches] Change in ovirt-node[master]: setup: Set bootproto according to config

fabiand at fedoraproject.org fabiand at fedoraproject.org
Thu Oct 25 09:57:21 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: setup: Set bootproto according to config
......................................................................

setup: Set bootproto according to config

Previously the bootproto selection was resetted when an invalid
configuration was previously applied (e.g. when selectin gno bootproto
at all). The reset included setting the botoproto unconditionally to
static. Now the bootproto is taken from the config files.

rhbz#858651

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


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/09/8809/1

diff --git a/scripts/ovirt-config-setup.py b/scripts/ovirt-config-setup.py
index 3c0ce97..579a078 100755
--- a/scripts/ovirt-config-setup.py
+++ b/scripts/ovirt-config-setup.py
@@ -1168,14 +1168,10 @@
             self.ipv4_disabled_callback()
         # prepopulate current values only in case of missing values
         if self.__nic_config_failed == 1:
-            for opt in [self.dhcp_ipv4_nic_proto, self.disabled_ipv4_nic_proto]:
-                opt.setValue(" ")
             try:
                 self.ipv4_netdevip.set(self.ipv4_current_netdevip)
                 self.ipv4_netdevmask.set(self.ipv4_current_netdevmask)
                 self.ipv4_netdevgateway.set(self.ipv4_current_netdevgateway)
-                self.static_ipv4_nic_proto.setValue("*")
-                self.ipv4_static_callback()
             except:
                 pass
             self.__nic_config_failed = 0


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

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