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/73/48973/1

diff --git a/scripts/ovirt-init-functions.sh.in 
b/scripts/ovirt-init-functions.sh.in
index 41e3919..b6c0906 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -919,7 +919,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
+
             echo "set /files$OVIRT_DEFAULTS/OVIRT_$PARAM '\"$value\"'" >> 
$tmpaug
         fi
     done


-- 
To view, visit https://gerrit.ovirt.org/48973
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.6
Gerrit-Owner: Fabian Deutsch <[email protected]>
_______________________________________________
node-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/node-patches

Reply via email to