78d8be8427
The current cloudinit implementation blocks when starting units which causes it to deadlock the boot process if a system cloud config starts a user cloud config because the user configs want to run after system is done. Until cloudinit switches to non-blocking calls user configs will go back to just depending on coreos-setup-environment.service.
13 lines
306 B
Desktop File
13 lines
306 B
Desktop File
[Unit]
|
|
Description=Load cloud-config from %f
|
|
Requires=coreos-setup-environment.service
|
|
After=coreos-setup-environment.service
|
|
Before=user-config.target
|
|
ConditionFileNotEmpty=%f
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
EnvironmentFile=-/etc/environment
|
|
ExecStart=/usr/bin/coreos-cloudinit --from-file=%f
|