Commit 1db79c80 authored by Kristian Klausen's avatar Kristian Klausen 🎉
Browse files

Merge branch 'hcloud-init' into 'master'

networking: Make hcloud-init.service more reliable

Closes #371

See merge request !474
parents 5a65b590 a06ed9ef
Pipeline #10615 passed with stage
in 33 seconds
[Unit]
Description=Apply configuration from HCloud metadata
DefaultDependencies=no
ConditionVirtualization=kvm
After=systemd-networkd.service
Before=network.target multi-user.target shutdown.target
Conflicts=shutdown.target
Wants=systemd-networkd.service
After=systemd-networkd-wait-online.service
Before=network-online.target
Wants=network-online.target
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment