Post-Install, change pve-test for trixie (#7031)
* Postinstall, Change pve-test * MSG improved
This commit is contained in:
parent
c7643ae88c
commit
2e13483f19
@ -480,24 +480,24 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# ---- PVETEST ----
|
# ---- PVETEST ----
|
||||||
if component_exists_in_sources "pvetest"; then
|
if component_exists_in_sources "pve-test"; then
|
||||||
msg_ok "'pvetest' repository already exists (skipped)"
|
msg_ok "'pve-test' repository already exists (skipped)"
|
||||||
else
|
else
|
||||||
CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "PVETEST" \
|
CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "PVETEST" \
|
||||||
--menu "The 'pvetest' repository can give advanced users access to new features and updates before they are officially released.\n\nAdd (Disabled) 'pvetest' repository (deb822)?" 14 58 2 \
|
--menu "The 'pve-test' repository can give advanced users access to new features and updates before they are officially released.\n\nAdd (Disabled) 'pvetest' repository (deb822)?" 14 58 2 \
|
||||||
"yes" " " \
|
"yes" " " \
|
||||||
"no" " " 3>&2 2>&1 1>&3)
|
"no" " " 3>&2 2>&1 1>&3)
|
||||||
case $CHOICE in
|
case $CHOICE in
|
||||||
yes)
|
yes)
|
||||||
msg_info "Adding 'pvetest' repository (deb822, disabled)"
|
msg_info "Adding 'pve-test' repository (deb822, disabled)"
|
||||||
cat >/etc/apt/sources.list.d/pvetest.sources <<EOF
|
cat >/etc/apt/sources.list.d/pve-test.sources <<EOF
|
||||||
# Types: deb
|
# Types: deb
|
||||||
# URIs: http://download.proxmox.com/debian/pve
|
# URIs: http://download.proxmox.com/debian/pve
|
||||||
# Suites: trixie
|
# Suites: trixie
|
||||||
# Components: pvetest
|
# Components: pve-test
|
||||||
# Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
|
# Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
|
||||||
EOF
|
EOF
|
||||||
msg_ok "Added 'pvetest' repository"
|
msg_ok "Added 'pve-test' repository"
|
||||||
;;
|
;;
|
||||||
no) msg_error "Selected no to Adding 'pvetest' repository" ;;
|
no) msg_error "Selected no to Adding 'pvetest' repository" ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user