From fc5bad45b273cf9dea672abd3f10229ea3be05c6 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Wed, 4 Feb 2026 20:30:37 +0100 Subject: [PATCH] add cloudinit function --- vm/docker-vm.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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)