Reproduced with: ```sh $ lxc launch ubuntu:jammy jj $ lxc exec jj -- cloud-init status --wait $ lxc exec jj -- cloud-init --version /usr/bin/cloud-init 22.1-14-g2e17a0d6-0ubuntu1~22.04.5 $ lxc exec jj -- apt purge -y cloud-init ... dpkg: warning: while removing cloud-init, directory '/etc/cloud' not empty so not removed ... $ lxc exec jj -- ls /etc/cloud build.info $ lxc exec jj -- ls /etc/netplan 50-cloud-init.yaml ```
** Changed in: cloud-init (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1975744 Title: purging cloud-init doesn't remove its network configuration files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1975744/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs