[node-patches] Change in ovirt-node[master]: check nfsv4 domain before applying config

jboggs at redhat.com jboggs at redhat.com
Thu Oct 25 04:01:25 UTC 2012


Joey Boggs has uploaded a new change for review.

Change subject: check nfsv4 domain before applying config
......................................................................

check nfsv4 domain before applying config

rhbz#869866

Change-Id: Ic7b2134ed8481c609535d926a143f785fa6a7999
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
M scripts/ovirt-config-setup.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/03/8803/1

diff --git a/scripts/ovirt-config-setup.py b/scripts/ovirt-config-setup.py
index c3943a2..fea6b21 100755
--- a/scripts/ovirt-config-setup.py
+++ b/scripts/ovirt-config-setup.py
@@ -1854,7 +1854,8 @@
 
     def process_remote_storage_config(self):
         set_iscsi_initiator(self.iscsi_initiator_config.value())
-        set_nfsv4_domain(self.nfsv4_domain.value())
+        if len(self.nfsv4_domain.value()) > 0:
+            set_nfsv4_domain(self.nfsv4_domain.value())
     def ssh_hostkey_btn_cb(self):
         self._create_warn_screen()
         ssh_hostkey_msg = ("RSA Host Key Fingerprint:\n%s\n\nRSA Host " +


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic7b2134ed8481c609535d926a143f785fa6a7999
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>



More information about the node-patches mailing list