X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f63f514bf69ed5cfcdb26f9acd6a6209bba3a52a..5bb7bf7aa78aa8bc9876f3ec3502572f4b6809d3:/cookbooks/networking/recipes/default.rb diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 103f8823b..ea87c3b7b 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -266,6 +266,16 @@ if node[:networking][:wireguard][:enabled] end end +# Setup dokken network in systemd-networkd to avoid systemd-networkd-wait-online delay +template "/etc/systemd/network/dokken.network" do + source "dokken.network.erb" + owner "root" + group "root" + mode "644" + notifies :run, "execute[networkctl-reload]", :immediately + only_if { kitchen? } +end + notify_group "networkctl-reload" execute "networkctl-reload" do