1
0
mirror of https://github.com/rancher/os.git synced 2025-08-19 23:36:54 +00:00

Merge pull request #1293 from joshwget/json-likes-double-quotes

Fix invalid JSON in Tinkerbell post body
This commit is contained in:
Denise 2016-10-06 14:50:52 -07:00 committed by GitHub
commit edd9d33eaa

View File

@ -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