feat(units): Generic config drive and other systemd units.

This commit is contained in:
Michael Marineau
2014-04-03 15:50:49 -07:00
parent 58b091061e
commit c438a42587
8 changed files with 115 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Load cloud-config from %f
Requires=system-config.target
After=system-config.target
Before=user-config.target
ConditionFileNotEmpty=%f
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/etc/environment
ExecStart=/usr/bin/coreos-cloudinit --from-file=%f