- Redid the code for the cloud to be able to specify subnets, with the default based on bridge number. It now adds a bridge every time you run it. - The creating if the VM now prompts you for a bridge to select if there is more than one, and prompts you to select storage if there is more than 1 - The No Subcriber nag removal will now last through Proxmox updates
21 lines
488 B
Bash
Executable File
21 lines
488 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Script: check-iommu-enabled.sh
|
|
# Goal: Check if IOMMU is enabled on your system
|
|
#
|
|
# Author: Gabriel Luchina
|
|
# https://luchina.com.br
|
|
# 20220128T1112
|
|
|
|
# Check for IOMMU or DMAR messages in dmesg
|
|
iommu_check=$(dmesg | grep -E 'DMAR|IOMMU')
|
|
|
|
if [ -n "$iommu_check" ]; then
|
|
echo "IOMMU Enabled"
|
|
else
|
|
echo "IOMMU NOT Enabled"
|
|
echo "Ensure 'intel_iommu=on' or 'amd_iommu=on' is present in the 'GRUB_CMDLINE_LINUX_DEFAULT' line of /etc/default/grub"
|
|
exit 1
|
|
fi
|
|
|