coreos-base/oem-packet: send Content-Type when phoning home

This commit is contained in:
Benjamin Gilbert 2017-06-15 11:52:00 -07:00
parent f5398d962b
commit 60e9819077

View File

@ -7,7 +7,7 @@ After=coreos-metadata.service
[Service]
EnvironmentFile=/run/metadata/coreos
Type=oneshot
ExecStart=/usr/bin/curl --request POST "${COREOS_PACKET_PHONE_HOME_URL}"
ExecStart=/usr/bin/curl --header "Content-Type: application/json" --request POST "${COREOS_PACKET_PHONE_HOME_URL}"
[Install]
WantedBy=multi-user.target