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:
commit
edd9d33eaa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user