X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d88e91f427d99f1f8975be716a750221380f73f3..df083ed13f74574e55a679e7748cc3e937821cda:/cookbooks/networking/recipes/default.rb diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 4fbf463f2..f43eaf2a7 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -156,7 +156,7 @@ end netplan["network"]["bonds"].each_value do |bond| bond["interfaces"].each do |interface| - netplan["network"]["ethernets"][interface] ||= { "accept-ra" => false } + netplan["network"]["ethernets"][interface] ||= { "accept-ra" => false, "optional" => true } end end @@ -261,6 +261,12 @@ if node[:networking][:wireguard][:enabled] :allowed_ips => "10.0.16.1/32", :endpoint => "gate.compton.nu:51820" } + + node.default[:networking][:wireguard][:peers] << { + :public_key => "RofATnvlWxP3mt87+QKRXFE5MVxtoCcTsJ+yftZYEE4=", + :allowed_ips => "10.89.122.1/32", + :endpoint => "gate.firefishy.com:51820" + } end template "/etc/systemd/network/wireguard.netdev" do