From 5582df99b7916c46fbb4b104f1c12b1a969852d5 Mon Sep 17 00:00:00 2001 From: Christophe Date: Sun, 12 Apr 2026 15:07:11 +0200 Subject: [PATCH] =?UTF-8?q?Simplifie=20la=20mise=20=C3=A0=20jour=20Proxmox?= =?UTF-8?q?=20par=20d=C3=A9faut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + update-chesscubing-proxmox.sh | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 781c612..ce5d0bf 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,7 @@ bash -c "$(curl -fsSL https://git.jeannerot.fr/christophe/chesscubing/raw/branch ``` Sur l'hôte Proxmox, cette commande met à jour le LXC local sans passer par SSH. +Par défaut, elle cible le conteneur `chesscubing-web` sans demander le `CTID`. On peut aussi cibler le conteneur par nom si on n'a pas le `CTID` : diff --git a/update-chesscubing-proxmox.sh b/update-chesscubing-proxmox.sh index 8561956..10edc86 100755 --- a/update-chesscubing-proxmox.sh +++ b/update-chesscubing-proxmox.sh @@ -105,11 +105,6 @@ if [[ "$LOCAL_MODE" != "1" ]]; then prompt_default SSH_PORT "Port SSH Proxmox" "22" fi -prompt_default CTID "CTID du LXC (laisser vide pour rechercher par nom)" "" -if [[ -z "$CTID" ]]; then - prompt_default LXC_HOSTNAME "Nom du LXC" "chesscubing-web" -fi - if [[ "$LOCAL_MODE" != "1" ]]; then [[ -n "$PROXMOX_HOST" ]] || die "Le serveur Proxmox est obligatoire." [[ -n "$PROXMOX_USER" ]] || die "L'utilisateur Proxmox est obligatoire."