mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-07-06 05:57:37 +00:00
add arch check (#981)
This commit is contained in:
@ -69,6 +69,15 @@ function PVE_CHECK() {
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function ARCH_CHECK() {
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
if [[ "$ARCH" != "amd64" ]]; then
|
||||
echo -e "\n ❌ This script will not work with PiMox! \n"
|
||||
echo -e "Exiting..."
|
||||
sleep 2
|
||||
exit
|
||||
fi
|
||||
}
|
||||
function default_settings() {
|
||||
echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
|
||||
CT_TYPE="1"
|
||||
|
Reference in New Issue
Block a user