2014-04-04 02:50:49 +04:00
|
|
|
[Unit]
|
|
|
|
Description=Load cloud-config from %f
|
2014-04-15 05:38:38 +04:00
|
|
|
Requires=coreos-setup-environment.service
|
|
|
|
After=coreos-setup-environment.service
|
2014-04-04 02:50:49 +04:00
|
|
|
Before=user-config.target
|
|
|
|
ConditionFileNotEmpty=%f
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
|
|
|
EnvironmentFile=-/etc/environment
|
|
|
|
ExecStart=/usr/bin/coreos-cloudinit --from-file=%f
|