mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 15:01:00 +02:00
coreos-base/coreos-metadata: use $COREOS_METADATA_OPT_PROVIDER for ssh
An earlier commit modified the coreos-metadata.service unit to use the COREOS_METADATA_OPT_PROVIDER environment variable to specify the provider for coreos-metadata. That commit failed to make the same change to the coreos-metadata-sshkeys@.service unit. This commit fixes this.
This commit is contained in:
parent
739e1cfb8a
commit
ea30b79a62
@ -3,7 +3,8 @@ Description=CoreOS Metadata Agent (SSH Keys)
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/coreos-metadata --cmdline --ssh-keys=%i
|
||||
Environment=COREOS_METADATA_OPT_PROVIDER=--cmdline
|
||||
ExecStart=/usr/bin/coreos-metadata ${COREOS_METADATA_OPT_PROVIDER} --ssh-keys=%i
|
||||
|
||||
[Install]
|
||||
DefaultInstance=core
|
||||
|
Loading…
x
Reference in New Issue
Block a user