diff --git a/register_vms.sh b/register_vms.sh index 1b5f4a5..688189d 100644 --- a/register_vms.sh +++ b/register_vms.sh @@ -65,7 +65,7 @@ post_request() { -H "content-type: application/json" \ -H "accept: application/json" \ -H "Authorization: Token $API_TOKEN" \ - -d "'$(jq -c . $VM_JSON)'" \ + -d "$(jq -c . $VM_JSON)" \ $API_ENDPOINT }