mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-07 10:22:12 +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]
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user