Removed No-Nag fix in pbs2_post_install.sh

This commit is contained in:
Steven Seifried 2021-12-29 16:07:42 +01:00
parent 0b837c8f24
commit f86e8f4ed7
No known key found for this signature in database
GPG key ID: 174371A9356D63E5

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "\e[1;33m This script will Disable the Enterprise Repo, Add & Enable the No-Subscription Repo and attempt the No-Nag fix. PBS2 ONLY \e[0m" echo -e "\e[1;33m This script will Disable the Enterprise Repo and Add & Enable the No-Subscription Repo \e[0m"
while true; do while true; do
read -p "Start the PBS2 Post Install Script (y/n)?" yn read -p "Start the PBS2 Post Install Script (y/n)?" yn
@ -20,7 +20,4 @@ deb http://security.debian.org/debian-security bullseye-security main contrib
deb http://download.proxmox.com/debian/pbs bullseye pbs-no-subscription deb http://download.proxmox.com/debian/pbs bullseye pbs-no-subscription
EOF EOF
sed -i.backup -z "s/res === null || res === undefined || \!res || res\n\t\t\t.data.status.toLowerCase() \!== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
echo -e "\e[1;33m Finished....Please Update Proxmox \e[0m" echo -e "\e[1;33m Finished....Please Update Proxmox \e[0m"
systemctl restart proxmox-backup-proxy.service # for the no-nag