From 327cfd37c303183fbd6646fcb336f44d461d4a2e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 26 Sep 2021 00:39:08 +0100 Subject: [PATCH] Cleanup any netplan config created by the Ubuntu installer --- cookbooks/networking/recipes/default.rb | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5