Skip to content
Snippets Groups Projects
Commit 1db79c80 authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

Merge branch 'hcloud-init' into 'master'

networking: Make hcloud-init.service more reliable

Closes #371

See merge request !474
parents 5a65b590 a06ed9ef
No related branches found
No related tags found
1 merge request!474networking: Make hcloud-init.service more reliable
Pipeline #10615 passed
[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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment