]> git.openstreetmap.org Git - chef.git/commitdiff
Cleanup any netplan config created by the Ubuntu installer
authorTom Hughes <tom@compton.nu>
Sat, 25 Sep 2021 23:39:08 +0000 (00:39 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 25 Sep 2021 23:39:43 +0000 (00:39 +0100)
cookbooks/networking/recipes/default.rb

index 7bbf315057f5a67c2ad04ae85b1153a7ad655400..275f732d1d492bfca1d836fa69d5289dd77bf7de 100644 (file)
@@ -166,6 +166,10 @@ netplan["network"]["vlans"].each_value do |vlan|
   end
 end
 
+file "/etc/netplan/00-installer-config.yaml" do
+  action :delete
+end
+
 file "/etc/netplan/01-netcfg.yaml" do
   action :delete
 end