mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-05-27 04:16:03 +02:00
Merge branch 'hcloud-init' into 'master'
networking: Make hcloud-init.service more reliable Closes #371 See merge request archlinux/infrastructure!474
This commit is contained in:
commit
1db79c8045
|
@ -1,18 +1,15 @@
|
|||
[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
|
||||
|
|
Loading…
Reference in New Issue