From 0e359292caca0614c03d563b75c2d71a03f35762 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Fri, 18 Sep 2026 15:26:47 +0200 Subject: [PATCH] alpine-vm: ask for the Cloud-Init credentials (#17355) The default path set USE_CLOUD_INIT itself, so the username and password dialogs were skipped; only the advanced path asked. The cloud image sets no password, so the question is which credentials, not whether. Same fix as almalinux-vm and fedora-vm. --- vm/alpine-vm.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vm/alpine-vm.sh b/vm/alpine-vm.sh index 0c2f2dd40..a6fe5ac91 100644 --- a/vm/alpine-vm.sh +++ b/vm/alpine-vm.sh @@ -34,6 +34,10 @@ pushd "$TEMP_DIR" >/dev/null vm_preflight +# The cloud image sets no password, so the only question is which credentials. +CLOUDINIT_REQUIRED=1 +vm_prompt_cloud_init "alpine" + function default_settings() { VMID=$(get_valid_nextid) vm_apply_machine_type "q35" @@ -49,7 +53,7 @@ function default_settings() { MTU="" START_VM="yes" METHOD="default" - USE_CLOUD_INIT="yes" + echo -e "${CLOUD}${BOLD}${DGN}Cloud-Init: ${BGN}${USE_CLOUD_INIT}${CL}" vm_echo_default_settings } @@ -67,7 +71,6 @@ function advanced_settings() { vm_prompt_mac "$GEN_MAC" vm_prompt_vlan vm_prompt_mtu - vm_prompt_cloud_init "alpine" vm_prompt_verbose "no" vm_prompt_start_vm "yes"