Update setup to support Proxmox 8.2

This commit is contained in:
Jiří Janata 2024-04-28 20:45:17 +02:00 committed by GitHub
parent 56850ec1d2
commit 2f9cc3676f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

6
setup
View File

@ -36,7 +36,7 @@ clear
if [ `pveversion | grep "pve-manager/[7,8]" | wc -l` -ne 1 ]
then
echo "This version of Proxmox Virtual Environment are not supported"
echo "Please, utilize version: 7.XX or 8.1-1"
echo "Please, utilize version: 7.XX or 8.2"
exit
fi
@ -108,7 +108,7 @@ then
if [ ${OSX_PLATFORM} == "AMD" ]
then
if [ `pveversion | grep -i '7.2\|7.3\|7.4\|8.0\|8.1' | wc -l` -eq 1 ]
if [ `pveversion | grep -i '7.2\|7.3\|7.4\|8.0\|8.1\|8.2' | wc -l` -eq 1 ]
then
sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt video=vesafb:off video=efifb:off initcall_blacklist=sysfb_init"/g' /etc/default/grub
else
@ -119,7 +119,7 @@ then
if [ ${OSX_PLATFORM} == "INTEL" ]
then
if [ `pveversion | grep -i '7.2\|7.3\|7.4\|8.0\|8.1' | wc -l` -eq 1 ]
if [ `pveversion | grep -i '7.2\|7.3\|7.4\|8.0\|8.1\|8.2' | wc -l` -eq 1 ]
then
sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt video=vesafb:off video=efifb:off initcall_blacklist=sysfb_init"/g' /etc/default/grub
else