| Server IP : 104.129.129.72 / Your IP : 216.73.216.229 Web Server : LiteSpeed System : Linux 123answers 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : answe8064 ( 1002) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /etc/cloud/clean.d/ |
Upload File : |
#!/usr/bin/env python3
# Remove live-installer config artifacts when running: sudo cloud-init clean
# Autogenerated by Subiquity: 2024-09-19 13:32:38.263542 UTC
import os
for cfg_file in ["/etc/cloud/cloud.cfg.d/20-disable-cc-dpkg-grub.cfg", "/etc/cloud/cloud.cfg.d/90-installer-network.cfg", "/etc/cloud/cloud.cfg.d/99-installer.cfg", "/etc/cloud/ds-identify.cfg"]:
try:
os.remove(cfg_file)
except FileNotFoundError:
pass