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