mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 06:51:26 +02:00
coreos-base/oem-packet: retry phoning home until it succeeds
This commit is contained in:
parent
60e9819077
commit
10730f3e3a
@ -6,8 +6,9 @@ After=coreos-metadata.service
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/run/metadata/coreos
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/curl --header "Content-Type: application/json" --request POST "${COREOS_PACKET_PHONE_HOME_URL}"
|
||||
Restart=on-failure
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user