Hide curl command with auth token from logs

Curl command contains auth token to cloud and it's printed in
console, let's hide it with "+x".

Change-Id: I3cd61678de85c487335802019d3308f4c854636e
This commit is contained in:
Sagi Shnaidman 2021-08-19 17:56:40 +03:00
parent 23914fab1a
commit fb6700fcdb
1 changed files with 2 additions and 1 deletions

View File

@ -199,10 +199,11 @@ sleep 5
if ! systemctl is-active openstack-bmc-* >/dev/null
then
systemctl status openstack-bmc-*
set +x
$signal_command --data-binary '{"status": "FAILURE"}'
echo "********** $unit failed to start **********"
exit 1
fi
set +x
$signal_command --data-binary '{"status": "SUCCESS"}'