From: Tom Hughes Date: Sat, 25 Sep 2021 23:39:08 +0000 (+0100) Subject: Cleanup any netplan config created by the Ubuntu installer X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/327cfd37c303183fbd6646fcb336f44d461d4a2e Cleanup any netplan config created by the Ubuntu installer --- diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index 7bbf31505..275f732d1 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -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