mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-07 18:31:54 +01:00
coreos-base/oem-packet: send Content-Type when phoning home
This commit is contained in:
parent
f5398d962b
commit
60e9819077
@ -7,7 +7,7 @@ After=coreos-metadata.service
|
|||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=/run/metadata/coreos
|
EnvironmentFile=/run/metadata/coreos
|
||||||
Type=oneshot
|
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]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user