From f5681217b5d3e4560b53b301ce14740b64e6ba19 Mon Sep 17 00:00:00 2001 From: Josh Curl Date: Thu, 6 Oct 2016 13:37:59 -0700 Subject: [PATCH] Fix invalid JSON in Tinkerbell post body --- scripts/hosting/packet/packet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/hosting/packet/packet.sh b/scripts/hosting/packet/packet.sh index 12bee083..0ee734de 100644 --- a/scripts/hosting/packet/packet.sh +++ b/scripts/hosting/packet/packet.sh @@ -6,7 +6,7 @@ INSTALLER_IMAGE=rancher/os:v0.7.0-rc1 tinkerbell_post() { - system-docker run rancher/curl -X POST -H "Content-Type: application/json" -d "{'type':'provisioning.$1'}" ${TINKERBELL_URL} + system-docker run rancher/curl -X POST -H "Content-Type: application/json" -d "{\"type\":\"provisioning.$1\"}" ${TINKERBELL_URL} } tinkerbell_post 104