Merge remote-tracking branch 'upstream/main'

This commit is contained in:
Sam Heinz
2025-01-17 19:02:30 +10:00
39 changed files with 1257 additions and 83 deletions

View File

@@ -254,4 +254,11 @@ EOF
fi
echo "bash -c \"\$(wget -qLO - https://github.com/asylumexp/Proxmox/raw/main/ct/${app}.sh)\"" >/usr/bin/update
chmod +x /usr/bin/update
if [[ -n "${SSH_AUTHORIZED_KEY}" ]]; then
mkdir -p /root/.ssh
echo "${SSH_AUTHORIZED_KEY}" > /root/.ssh/authorized_keys
chmod 700 /root/.ssh
chmod 600 /root/.ssh/authorized_keys
fi
}