Yedidyah Bar David has uploaded a new change for review. Change subject: packaging: setup: nfs export only a new ISO domain ......................................................................
packaging: setup: nfs export only a new ISO domain Only export an iso domain if an ACL was input and the domain did not exist before. Bug-Url: https://bugzilla.redhat.com/1058018 Change-Id: Ie7bc6dccb780768ebe05ff5612c3bb108b48cdea Signed-off-by: Yedidyah Bar David <[email protected]> --- M packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/system/exportfs.py 1 file changed, 9 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/88/24188/1 diff --git a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/system/exportfs.py b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/system/exportfs.py index b129e1b..c11e5d8 100644 --- a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/system/exportfs.py +++ b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/system/exportfs.py @@ -101,9 +101,15 @@ condition=lambda self: self._enabled, ) def _validation(self): - self._enabled = self.environment[ - osetupcons.ConfigEnv.ISO_DOMAIN_NFS_MOUNT_POINT - ] is not None + self._enabled = ( + self.environment[ + osetupcons.ConfigEnv.ISO_DOMAIN_NFS_MOUNT_POINT + ] is not None and + not self.environment[osetupcons.ConfigEnv.ISO_DOMAIN_EXISTS] and + self.environment[ + osetupcons.ConfigEnv.ISO_DOMAIN_NFS_ACL + ] is not None + ) @plugin.event( stage=plugin.Stages.STAGE_MISC, -- To view, visit http://gerrit.ovirt.org/24188 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie7bc6dccb780768ebe05ff5612c3bb108b48cdea Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yedidyah Bar David <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
