raspi 1TB NVMe

This commit is contained in:
rootzoll
2025-01-08 15:30:03 +01:00
parent c2007340bf
commit 491d0b9c5f

View File

@@ -325,6 +325,12 @@ if [ "$1" = "status" ]; then
bootFromStorage=0
bootFromSD=1
# force RaspberryPi with small NVMe to boot from SD (old NVMe 1TB setups)
elif [ "${computerType}" == "raspberrypi" ] && [ ${#storageSizeGB} -gt 0 ] && [ ${storageSizeGB} -lt $((storageFullMinGB + dataMinGB + systemMinGB)) ] then
echo "# NVMe too small to also host system - keep booting from SD card"
bootFromStorage=0
bootFromSD=1
# all other systems boot from storage
else
echo "# all other systems boot from storage"