mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-26 08:33:17 +01:00
Compare commits
4 Commits
ed5d4b2739
...
e8ff5b6540
Author | SHA1 | Date | |
---|---|---|---|
|
e8ff5b6540 | ||
|
4ca1a73de2 | ||
|
b9c564c01d | ||
|
a527849c7e |
@ -89,7 +89,7 @@ EOF
|
|||||||
yes)
|
yes)
|
||||||
msg_info "Enabling 'pve-no-subscription' repository"
|
msg_info "Enabling 'pve-no-subscription' repository"
|
||||||
cat <<EOF >/etc/apt/sources.list.d/pve-install-repo.list
|
cat <<EOF >/etc/apt/sources.list.d/pve-install-repo.list
|
||||||
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
|
# deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
|
||||||
EOF
|
EOF
|
||||||
msg_ok "Enabled 'pve-no-subscription' repository"
|
msg_ok "Enabled 'pve-no-subscription' repository"
|
||||||
;;
|
;;
|
||||||
@ -115,14 +115,14 @@ EOF
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
CHOICE=$(whiptail --title "PVE8 TEST" --menu "The 'pvetest' repository can give advanced users access to new features and updates before they are officially released.\n \nAdd (Disabled) 'pvetest' repository?" 14 58 2 \
|
CHOICE=$(whiptail --title "PVE8 TEST" --menu "The 'pvetest' repository can give advanced users access to new features and updates before they are officially released.\n \nAdd 'pvetest' repository?" 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 and set disabled"
|
msg_info "Adding 'pvetest' repository and set disabled"
|
||||||
cat <<EOF >/etc/apt/sources.list.d/pve-test-repo.list
|
cat <<EOF >/etc/apt/sources.list.d/pvetest-for-beta.list
|
||||||
# deb http://download.proxmox.com/debian/pve bookworm pvetest
|
deb http://download.proxmox.com/debian/pve bookworm pvetest
|
||||||
EOF
|
EOF
|
||||||
msg_ok "Added 'pvetest' repository"
|
msg_ok "Added 'pvetest' repository"
|
||||||
;;
|
;;
|
||||||
@ -137,8 +137,8 @@ EOF
|
|||||||
case $CHOICE in
|
case $CHOICE in
|
||||||
yes)
|
yes)
|
||||||
msg_info "Updating to Proxmox VE 8 (Patience)"
|
msg_info "Updating to Proxmox VE 8 (Patience)"
|
||||||
apt-get update &>/dev/null
|
apt-get update
|
||||||
apt-get -y dist-upgrade &>/dev/null
|
apt-get -y dist-upgrade
|
||||||
msg_ok "Updated to Proxmox VE 8"
|
msg_ok "Updated to Proxmox VE 8"
|
||||||
;;
|
;;
|
||||||
no)
|
no)
|
||||||
|
@ -121,7 +121,7 @@ EOF
|
|||||||
case $CHOICE in
|
case $CHOICE in
|
||||||
yes)
|
yes)
|
||||||
msg_info "Adding 'pvetest' repository and set disabled"
|
msg_info "Adding 'pvetest' repository and set disabled"
|
||||||
cat <<EOF >/etc/apt/sources.list.d/pve-test-repo.list
|
cat <<EOF >/etc/apt/sources.list.d/pvetest-for-beta.list
|
||||||
# deb http://download.proxmox.com/debian/pve bookworm pvetest
|
# deb http://download.proxmox.com/debian/pve bookworm pvetest
|
||||||
EOF
|
EOF
|
||||||
msg_ok "Added 'pvetest' repository"
|
msg_ok "Added 'pvetest' repository"
|
||||||
|
Loading…
Reference in New Issue
Block a user