diff --git a/Linux_reinstall/InstallNET.sh b/Linux_reinstall/InstallNET.sh index 1cd503f..628c948 100644 --- a/Linux_reinstall/InstallNET.sh +++ b/Linux_reinstall/InstallNET.sh @@ -3580,7 +3580,7 @@ fi # Resize "/tmp" to avoid too low space to contain netboot kernel, base measure is "MB". tmpDirAvail=$(df -TBM | grep "/tmp\|/dev/shm" | head -n 1 | awk '{print $5}' | tr -cd "[0-9]") -[[ "$tmpDirAvail" -lt "256" ]] && mount -o remount,size=256M,noexec,nosuid,nodev,noatime /tmp 2>/dev/null +[[ "$tmpDirAvail" -lt "1024" ]] && mount -o remount,size=1G,noexec,nosuid,nodev,noatime tmpfs /tmp 2>/dev/null [[ -d /tmp/boot ]] && rm -rf /tmp/boot mkdir -p /tmp/boot