From 0c0f1ec71504ad7aa3f05959870b024ba22781f9 Mon Sep 17 00:00:00 2001 From: Danny Date: Thu, 19 Mar 2026 16:12:22 +0100 Subject: [PATCH] Fix git clone in Proxmox VM: add GIT_SSL_NO_VERIFY for self-hosted Gitea The Gitea server at git.dannyhaslund.dk has a TLS SNI issue that causes 'tlsv1 unrecognized name' errors from inside VMs. Adding GIT_SSL_NO_VERIFY=true for the clone since it's a trusted self-hosted server on the local network. Co-Authored-By: Claude Opus 4.6 (1M context) --- tests/proxmox/create-vm.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/proxmox/create-vm.sh b/tests/proxmox/create-vm.sh index c33938b..e6b59a1 100755 --- a/tests/proxmox/create-vm.sh +++ b/tests/proxmox/create-vm.sh @@ -170,12 +170,13 @@ runcmd: - pacman -S --noconfirm --needed base-devel git wget curl rust cargo qemu-full edk2-ovmf squashfs-tools xorriso dosfstools mtools python bc rsync openssh tmux # --- CLONE PROJECT --------------------------------------------------------- + # Try HTTPS (with SSL_NO_VERIFY for self-hosted Gitea), fall back to GitHub - | su - darkforge -c ' cd /home/darkforge - git clone --recurse-submodules https://git.dannyhaslund.dk/danny8632/darkforge.git 2>/dev/null || \ + GIT_SSL_NO_VERIFY=true git clone --recurse-submodules https://git.dannyhaslund.dk/danny8632/darkforge.git 2>/dev/null || \ git clone --recurse-submodules https://github.com/danny8632/darkforge.git 2>/dev/null || \ - echo "CLONE FAILED — manually clone the repo after login" + echo "CLONE FAILED — run manually: GIT_SSL_NO_VERIFY=true git clone --recurse-submodules https://git.dannyhaslund.dk/danny8632/darkforge.git ~/darkforge" ' # --- INSTALL CONVENIENCE COMMAND -------------------------------------------