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,11 @@
[Unit]
Description=Load cloud-config from %f
Requires=dbus.service
After=dbus.service
Before=system-config.target
ConditionFileNotEmpty=%f
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/coreos-cloudinit --from-file=%f