summaryrefslogtreecommitdiff
path: root/systemd/cloud-init.service
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-10-30 17:14:09 -0400
committerScott Moser <smoser@ubuntu.com>2011-10-30 17:14:09 -0400
commit6d9f6dfcf7e28f398b426c18ca36adeec24f8061 (patch)
treec5bbe4de1e9095313c3f7ec9388be9aed3884ff0 /systemd/cloud-init.service
parent2a84a2603f22e5362c8a6620bea51df220245d9f (diff)
downloadvyos-cloud-init-6d9f6dfcf7e28f398b426c18ca36adeec24f8061.tar.gz
vyos-cloud-init-6d9f6dfcf7e28f398b426c18ca36adeec24f8061.zip
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
Diffstat (limited to 'systemd/cloud-init.service')
-rw-r--r--systemd/cloud-init.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/cloud-init.service b/systemd/cloud-init.service
new file mode 100644
index 00000000..b8f6f49d
--- /dev/null
+++ b/systemd/cloud-init.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Initial cloud-init job (metadata service crawler)
+After=local-fs.target network.target cloud-init-local.service
+Requires=network.target
+Wants=local-fs.target cloud-init-local.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/cloud-init start
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target