add proxmox v8 support

This commit is contained in:
Thomas Makin
2023-06-29 21:46:57 -04:00
parent 684a025ecb
commit 8506cdc41e
2 changed files with 6 additions and 6 deletions

8
setup
View File

@@ -33,10 +33,10 @@
clear
if [ `pveversion | grep "pve-manager/7" | wc -l` -ne 1 ]
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"
echo "Please, utilize version: 7.XX or 8.XX"
exit
fi
@@ -108,7 +108,7 @@ then
if [ ${OSX_PLATFORM} == "AMD" ]
then
if [ `pveversion | grep -i '7.2\|7.3\|7.4' | wc -l` -eq 1 ]
if [ `pveversion | grep -i '7.2\|7.3\|7.4\|8.0' | 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
@@ -118,7 +118,7 @@ then
if [ ${OSX_PLATFORM} == "INTEL" ]
then
if [ `pveversion | grep -i '7.2\|7.3\|7.4' | wc -l` -eq 1 ]
if [ `pveversion | grep -i '7.2\|7.3\|7.4\|8.0' | 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