Skip to content

Commit

Permalink
Merge pull request #318 from openshift-cherrypick-robot/cherry-pick-3…
Browse files Browse the repository at this point in the history
…10-to-release-4.11

[release-4.11] OCPBUGS-3674: Don't save OS_ prefixed variables
  • Loading branch information
openshift-merge-robot committed Dec 13, 2022
2 parents f8cd4b0 + 30bb317 commit 3e5d14c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/configure-ironic.sh
Expand Up @@ -52,9 +52,9 @@ if [ -f /etc/ironic/ironic.conf ]; then
cp /etc/ironic/ironic.conf /etc/ironic/ironic.conf_orig
fi

# oslo.config also supports Config Opts From Environment, log them
echo '# Options set from Environment variables' | tee /etc/ironic/ironic.extra
env | grep "^OS_" | tee -a /etc/ironic/ironic.extra
# oslo.config also supports Config Opts From Environment, log them to stdout
echo 'Options set from Environment variables'
env | grep "^OS_" || true

mkdir -p /shared/html
mkdir -p /shared/ironic_prometheus_exporter
Expand Down

0 comments on commit 3e5d14c

Please sign in to comment.