Yedidyah Bar David has uploaded a new change for review.

Change subject: packaging: setup: Do not enable NFS on upgrade
......................................................................

packaging: setup: Do not enable NFS on upgrade

Do not allow configuring an NFS ISO domain on upgrade.

Bug-Url: https://bugzilla.redhat.com/1056777
Change-Id: I10734f3debd5e3fb122707deb0cb8b354fbe2fa6
Signed-off-by: Yedidyah Bar David <d...@redhat.com>
---
M packaging/setup/plugins/ovirt-engine-setup/system/nfs.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/43/26043/1

diff --git a/packaging/setup/plugins/ovirt-engine-setup/system/nfs.py 
b/packaging/setup/plugins/ovirt-engine-setup/system/nfs.py
index f33bb1a..168767d 100644
--- a/packaging/setup/plugins/ovirt-engine-setup/system/nfs.py
+++ b/packaging/setup/plugins/ovirt-engine-setup/system/nfs.py
@@ -91,6 +91,8 @@
                     break
             else:
                 self._enabled = False
+        if not self.environment[osetupcons.DBEnv.NEW_DATABASE]:
+            self._enabled = False
 
     @plugin.event(
         stage=plugin.Stages.STAGE_CUSTOMIZATION,


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I10734f3debd5e3fb122707deb0cb8b354fbe2fa6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Yedidyah Bar David <d...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to