setup.sh: Quote full args instead of just bash variables
More in line with the rest of scripts and is easier to mentally parse. Signed-off-by: Manuel Mendez <mmendez@equinix.com>
This commit is contained in:
parent
88bf5771ea
commit
b8d94f5278
4
setup.sh
4
setup.sh
@ -347,8 +347,8 @@ generate_certificates() (
|
|||||||
local certs_dir="/etc/docker/certs.d/$TINKERBELL_HOST_IP"
|
local certs_dir="/etc/docker/certs.d/$TINKERBELL_HOST_IP"
|
||||||
|
|
||||||
# copy public key to NGINX for workers
|
# copy public key to NGINX for workers
|
||||||
if ! cmp --quiet "$STATEDIR"/certs/ca.pem "$STATEDIR/webroot/workflow/ca.pem"; then
|
if ! cmp --quiet "$STATEDIR/certs/ca.pem" "$STATEDIR/webroot/workflow/ca.pem"; then
|
||||||
cp "$STATEDIR"/certs/ca.pem "$STATEDIR/webroot/workflow/ca.pem"
|
cp "$STATEDIR/certs/ca.pem" "$STATEDIR/webroot/workflow/ca.pem"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# update host to trust registry certificate
|
# update host to trust registry certificate
|
||||||
|
Loading…
Reference in New Issue
Block a user