From: Tom Hughes Date: Mon, 14 Sep 2020 18:18:44 +0000 (+0100) Subject: Cleanup any old "normal" priority networking configuration X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/002b60653876baaaf093d14f0e83ec6207fce519 Cleanup any old "normal" priority networking configuration --- diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 34a1a52af..13fd2252b 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -37,6 +37,8 @@ netplan = { } } +node.rm_normal(:networking) + node[:networking][:interfaces].each do |name, interface| if interface[:interface] if interface[:role] && (role = node[:networking][:roles][interface[:role]])