#!/usr/bin/env python3 # Remove live-installer config artifacts when running: sudo cloud-init clean # Autogenerated by Subiquity: 2025-09-12 22:07:53.190992 UTC import os for cfg_file in ["/etc/cloud/cloud-init.disabled", "/etc/cloud/cloud.cfg.d/20-disable-cc-dpkg-grub.cfg", "/etc/cloud/cloud.cfg.d/99-installer.cfg", "/etc/cloud/cloud.cfg.d/subiquity-disable-cloudinit-networking.cfg", "/etc/cloud/ds-identify.cfg", "/etc/netplan/00-installer-config.yaml"]: try: os.remove(cfg_file) except FileNotFoundError: pass