Fabian Deutsch has uploaded a new change for review. Change subject: init: Be more sensitive during auto-install logging ......................................................................
init: Be more sensitive during auto-install logging Change-Id: Iefa961d480e3277d7c5c49be248389fb2ba6f542 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1283826 Signed-off-by: Fabian Deutsch <[email protected]> (cherry picked from commit e9c68f1277689d3f2696035c9a85fe1ffcf660e8) --- M scripts/ovirt-init-functions.sh.in 1 file changed, 6 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/74/48974/1 diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in index 83deb73..6272cca 100644 --- a/scripts/ovirt-init-functions.sh.in +++ b/scripts/ovirt-init-functions.sh.in @@ -894,7 +894,12 @@ PARAM=$(uc $p) value=$(ptr $p) if [ -n "$value" -o $p = 'init' -o $p = 'upgrade' -o $p = 'install' ]; then - log "Updating OVIRT_$PARAM to '$value'" + if [[ "$PARAM" =~ PASSWORD ]]; then + log "Updating OVIRT_$PARAM to a for security reasons hidden value" + else + log "Updating OVIRT_$PARAM to '$value'" + fi + if [[ ${PARAM} == "MANAGEMENT_SERVER" ]]; then value=`echo ${value} | sed 's/http\(\|s\):\/\///g'` fi -- To view, visit https://gerrit.ovirt.org/48974 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iefa961d480e3277d7c5c49be248389fb2ba6f542 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: ovirt-3.5 Gerrit-Owner: Fabian Deutsch <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
