]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/recipes/default.rb
Cleanup any old "normal" priority networking configuration
[chef.git] / cookbooks / networking / recipes / default.rb
index 34a1a52afba33d0e3e860cf3e6eb6ddcdc975000..13fd2252bd849e9752cd51f4e36f3931411aa75e 100644 (file)
@@ -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]])