mirror of
https://github.com/luchina-gabriel/OSX-PROXMOX.git
synced 2024-11-25 12:25:36 +01:00
Update setup to support Proxmox 8.2
This commit is contained in:
parent
56850ec1d2
commit
2f9cc3676f
6
setup
6
setup
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user