Alon Bar-Lev has uploaded a new change for review. Change subject: core: support overriding environment ......................................................................
core: support overriding environment Useful for distro settings. Change-Id: I933373b31c3f2e1b8f7a8a5624b47eaa8b0a70e4 Signed-off-by: Alon Bar-Lev <[email protected]> --- M src/bin/ovirt-host-deploy.in 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy refs/changes/15/13315/1 diff --git a/src/bin/ovirt-host-deploy.in b/src/bin/ovirt-host-deploy.in index e22634a..73b6f39 100644 --- a/src/bin/ovirt-host-deploy.in +++ b/src/bin/ovirt-host-deploy.in @@ -18,6 +18,11 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # +ENV="/etc/ovirt-host-deploy.env.d" +for f in $([ -d "${ENV}" ] && find "${ENV}" -name '*.conf' | sort); do + [ -r "${f}" ] && . "${f}" +done + scriptdir="$(dirname "$0")" otopidir="${scriptdir}" extraenv="" -- To view, visit http://gerrit.ovirt.org/13315 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I933373b31c3f2e1b8f7a8a5624b47eaa8b0a70e4 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-host-deploy Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
