Browse Source

Fix shellcheck

pull/4655/head
Ola Thoresen 1 year ago
parent
commit
225e6eadb7
  1. 2
      deploy/nutanix.sh

2
deploy/nutanix.sh

@ -50,7 +50,7 @@ nutanix_deploy() {
_nutanix_pass="$NUTANIX_PASS" _nutanix_pass="$NUTANIX_PASS"
_nutanix_host="$NUTANIX_HOST" _nutanix_host="$NUTANIX_HOST"
fi fi
curl --silent --fail --user "$_nutanix_user:$_nutanix_pass" -F caChain=@$_cca -F cert=@$_ccert -F key=@$_ckey -F keyType=RSA_2048 -k https://$_nutanix_host:9440/PrismGateway/services/rest/v1/keys/pem/import >/dev/null
curl --silent --fail --user "$_nutanix_user:$_nutanix_pass" -F caChain=@"$_cca" -F cert=@"$_ccert" -F key=@"$_ckey" -F keyType=RSA_2048 -k https://"$_nutanix_host":9440/PrismGateway/services/rest/v1/keys/pem/import >/dev/null
return $? return $?
} }

Loading…
Cancel
Save