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."