summaryrefslogtreecommitdiff
path: root/systemd/cloud-init.service
diff options
context:
space:
mode:
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