summaryrefslogtreecommitdiff
path: root/src/systemd/vyos-config-cloud-init.service
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-09 19:26:15 +0200
committerGitHub <noreply@github.com>2023-05-09 19:26:15 +0200
commit70e476760a9c5b42a5d3f8647e3b4ac361472871 (patch)
tree0ecf5b97eebc149ac8d9c5dfcb350885cc9562cf /src/systemd/vyos-config-cloud-init.service
parent6a150eb26c97e41a66bfb693bfc0ad09c4f4fd2c (diff)
parent3c229a3646a58e47d4d69c011f82c45ef3bb3c77 (diff)
downloadvyos-1x-70e476760a9c5b42a5d3f8647e3b4ac361472871.tar.gz
vyos-1x-70e476760a9c5b42a5d3f8647e3b4ac361472871.zip
Merge pull request #1978 from zdc/T5190-sagitta
cloud-init: T5190: Added Cloud-init pre-configurator
Diffstat (limited to 'src/systemd/vyos-config-cloud-init.service')
-rw-r--r--src/systemd/vyos-config-cloud-init.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/systemd/vyos-config-cloud-init.service b/src/systemd/vyos-config-cloud-init.service
new file mode 100644
index 000000000..ba6f90e6d
--- /dev/null
+++ b/src/systemd/vyos-config-cloud-init.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=Pre-configure Cloud-init
+DefaultDependencies=no
+Requires=systemd-remount-fs.service
+Requires=systemd-udevd.service
+Wants=network-pre.target
+After=systemd-remount-fs.service
+After=systemd-udevd.service
+Before=cloud-init-local.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/libexec/vyos/system/vyos-config-cloud-init.py
+TimeoutSec=120
+KillMode=process
+StandardOutput=journal+console
+
+[Install]
+WantedBy=cloud-init-local.service