diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2018-11-30 18:40:13 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2018-11-30 18:40:16 +0100 |
commit | 380377e55a9373c8203e62d184107e1c5bbe1da0 (patch) | |
tree | aadc30305b27dc963e2599076e7b825bc360952d /roles/space_server/files | |
parent | 4c8ce84da087dde7ace19704f084738fbd44f0a0 (diff) | |
download | labitat-ansible-380377e55a9373c8203e62d184107e1c5bbe1da0.tar.gz labitat-ansible-380377e55a9373c8203e62d184107e1c5bbe1da0.tar.xz labitat-ansible-380377e55a9373c8203e62d184107e1c5bbe1da0.zip |
space_server: networkd: use Link.RequiredForOnline
..rather than overriding ExecStart to call
networkd-wait-online with --ignore
Diffstat (limited to 'roles/space_server/files')
-rw-r--r-- | roles/space_server/files/networkd-no-lan-mgt.conf | 3 | ||||
-rw-r--r-- | roles/space_server/files/networkd/10-lan.network | 3 | ||||
-rw-r--r-- | roles/space_server/files/networkd/10-mgt.network | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/roles/space_server/files/networkd-no-lan-mgt.conf b/roles/space_server/files/networkd-no-lan-mgt.conf deleted file mode 100644 index 3309cf0..0000000 --- a/roles/space_server/files/networkd-no-lan-mgt.conf +++ /dev/null @@ -1,3 +0,0 @@ -[Service] -ExecStart= -ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --ignore lan --ignore mgt diff --git a/roles/space_server/files/networkd/10-lan.network b/roles/space_server/files/networkd/10-lan.network index 08b85aa..1b2e89c 100644 --- a/roles/space_server/files/networkd/10-lan.network +++ b/roles/space_server/files/networkd/10-lan.network @@ -1,8 +1,9 @@ [Match] Name=lan -#[Link] +[Link] #ARP=no +RequiredForOnline=no [Network] DHCP=no diff --git a/roles/space_server/files/networkd/10-mgt.network b/roles/space_server/files/networkd/10-mgt.network index 9da626e..9ca1fae 100644 --- a/roles/space_server/files/networkd/10-mgt.network +++ b/roles/space_server/files/networkd/10-mgt.network @@ -1,6 +1,9 @@ [Match] Name=mgt +[Link] +RequiredForOnline=no + [Network] DHCP=no IPv6AcceptRA=no |