summaryrefslogtreecommitdiff
path: root/src/systemd/vyos-config-cloud-init.service
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-10 21:15:28 +0200
committerGitHub <noreply@github.com>2023-05-10 21:15:28 +0200
commit7ccd7b4ab990c5501069af7af5d6929abf5b4f11 (patch)
treeb6f7717a71aecb27057b7ea1a273c359c49ad5b1 /src/systemd/vyos-config-cloud-init.service
parent5518738952cda46cff5c8bda7dd896871691b001 (diff)
parent748199b10df112cba0821703001c0307e325bd90 (diff)
downloadvyos-1x-7ccd7b4ab990c5501069af7af5d6929abf5b4f11.tar.gz
vyos-1x-7ccd7b4ab990c5501069af7af5d6929abf5b4f11.zip
Merge pull request #1979 from zdc/T5190-equuleus
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