mirror of https://github.com/tteck/Proxmox.git
Update post_install.sh
This commit is contained in:
parent
43b81b5840
commit
d6c34d7210
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
echo -e "\e[1;33m This script will Disable the Enterprise Repo, Enable the No Subscription Repo,
|
echo -e "\e[1;33m This script will Disable the Enterprise Repo, Enable the No Subscription Repo,
|
||||||
Enable the Test Repo (repo's can be enabled/disabled via the UI in Repositories) and attempt
|
Add (Disabled) Test Repo (repo's can be enabled/disabled via the UI in Repositories) and attempt
|
||||||
the No Nag fix *PVE7 ONLY*\e[0m"
|
the No Nag fix *PVE7 ONLY*\e[0m"
|
||||||
|
|
||||||
read -p "Press [Enter] to start the PVE7 Post Install Script"
|
read -p "Press [Enter] to start the PVE7 Post Install Script"
|
||||||
|
@ -13,7 +13,7 @@ deb http://ftp.us.debian.org/debian bullseye main contrib
|
||||||
deb http://ftp.us.debian.org/debian bullseye-updates main contrib
|
deb http://ftp.us.debian.org/debian bullseye-updates main contrib
|
||||||
deb http://security.debian.org bullseye-security main contrib
|
deb http://security.debian.org bullseye-security main contrib
|
||||||
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
|
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
|
||||||
deb http://download.proxmox.com/debian/pve bullseye pvetest
|
# deb http://download.proxmox.com/debian/pve bullseye pvetest
|
||||||
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
|
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
|
||||||
|
|
Loading…
Reference in New Issue