]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/templates/default/wireguard.network.erb
Remove roles for fuchur, glaedr, gorwen, idris and lockheed
[chef.git] / cookbooks / networking / templates / default / wireguard.network.erb
index 2d3469cf16741a16f4c144aabfb99aea77cd156f..5e215b18401b960d31141281148070210635cf3b 100644 (file)
@@ -5,6 +5,9 @@ Name=wg0
 <% if node.internal_ipaddress -%>
 Address=<%= node.internal_ipaddress %>/32
 <% end -%>
+<% if node[:networking][:private_address] -%>
+Address=<%= node[:networking][:private_address] %>/32
+<% end -%>
 Address=<%= node[:networking][:wireguard][:address] %>/128
 
 [Route]