Skip autoinstall confirmation prompt and disable cloud-init post-install

Adds interactive-sections: [] to avoid the "Continue with autoinstall?" prompt,
and disables cloud-init on the installed system to prevent boot delays.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
cproudlock
2026-02-13 20:53:28 -05:00
parent 57a53381f2
commit d482cf4d0c

View File

@@ -1,6 +1,7 @@
#cloud-config #cloud-config
autoinstall: autoinstall:
version: 1 version: 1
interactive-sections: []
# Locale, keyboard, timezone # Locale, keyboard, timezone
locale: en_US.UTF-8 locale: en_US.UTF-8
@@ -102,6 +103,9 @@ autoinstall:
' '
- curtin in-target --target=/target -- chmod +x /etc/rc.local - curtin in-target --target=/target -- chmod +x /etc/rc.local
# Disable cloud-init on the installed system (no longer needed after autoinstall)
- curtin in-target --target=/target -- touch /etc/cloud/cloud-init.disabled
user-data: user-data:
disable_root: false disable_root: false