diff --git a/vm/docker-vm.sh b/vm/docker-vm.sh index d1bc7b5bb..f45da27ad 100644 --- a/vm/docker-vm.sh +++ b/vm/docker-vm.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Copyright (c) 2021-2026 community-scripts ORG -# Author: thost96 (thost96) | Co-Author: michelroegl-brunner | Refactored: MickLesk +# Author: thost96 (thost96) | michelroegl-brunner | MickLesk # License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE # ============================================================================== @@ -169,6 +169,11 @@ function advanced_settings() { select_os select_cloud_init + # SSH Key selection for Cloud-Init VMs + if [ "$USE_CLOUD_INIT" = "yes" ]; then + configure_cloudinit_ssh_keys || true + fi + METHOD="advanced" [ -z "${VMID:-}" ] && VMID=$(get_valid_nextid)