cloud-init/systemd/cloud-final.service
Scott Moser 80bb7d070a Add sample/example systemd config files
This imports the systemd config files that Garrett Holmstrom added to
fedora.  Its not essential that thay be here, rather than just maintained
as distribution delta, but there exists upstart files here.

taken from 
git://pkgs.fedoraproject.org/cloud-init.git
commit 87f33190f43d2b26cced4597e7298835024466c2
Author: Garrett Holmstrom <gholms@fedoraproject.org>
Patch2: cloud-init-0.6.2-systemd.patch
2011-10-30 17:14:09 -04:00

14 lines
301 B
Desktop File

[Unit]
Description=Execute cloud user/final scripts
After=network.target syslog.target cloud-config.service rc-local.service
Requires=cloud-config.target
Wants=network.target
[Service]
Type=oneshot
ExecStart=/usr/bin/cloud-init-cfg all final
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target