Skip to content
Snippets Groups Projects

networking: Make hcloud-init.service more reliable

Merged Kristian Klausen requested to merge klausenbusk/infrastructure:hcloud-init into master
All threads resolved!
[Unit]
Description=Apply configuration from HCloud metadata
DefaultDependencies=no
ConditionVirtualization=kvm
After=systemd-networkd.service
Before=network.target multi-user.target shutdown.target
+2
Conflicts=shutdown.target
Wants=systemd-networkd.service
After=systemd-networkd-wait-online.service
Before=network-online.target
Wants=network-online.target
+1
ConditionPathExists=!/etc/systemd/network/10-dhcp-ethernet.network.d/hcloud.conf
[Service]
ExecStart=/usr/local/bin/hcloud-init
Type=oneshot
RemainAfterExit=yes
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
Loading