summaryrefslogtreecommitdiff
path: root/systemd/cloud-config.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/cloud-config.service')
-rw-r--r--systemd/cloud-config.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/cloud-config.service b/systemd/cloud-config.service
new file mode 100644
index 00000000..696230f6
--- /dev/null
+++ b/systemd/cloud-config.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Apply the settings specified in cloud-config
+After=network.target syslog.target cloud-config.target
+Requires=cloud-config.target
+Wants=network.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/cloud-init-cfg all config
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target