diff --git a/boot/alci.sh b/boot/alci.sh index 032daa5..bdb5221 100755 --- a/boot/alci.sh +++ b/boot/alci.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/cachyos.sh b/boot/cachyos.sh index 032daa5..bdb5221 100755 --- a/boot/cachyos.sh +++ b/boot/cachyos.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/elementaryos.sh b/boot/elementaryos.sh index 032daa5..bdb5221 100755 --- a/boot/elementaryos.sh +++ b/boot/elementaryos.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/endeavouros.sh b/boot/endeavouros.sh index 032daa5..bdb5221 100755 --- a/boot/endeavouros.sh +++ b/boot/endeavouros.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/melawy-full.sh b/boot/melawy-full.sh index e9baebc..7b5e0d6 100755 --- a/boot/melawy-full.sh +++ b/boot/melawy-full.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/melawy-netinstall.sh b/boot/melawy-netinstall.sh index 720a331..dfa1066 100755 --- a/boot/melawy-netinstall.sh +++ b/boot/melawy-netinstall.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/melawy-test.sh b/boot/melawy-test.sh index e9baebc..7b5e0d6 100755 --- a/boot/melawy-test.sh +++ b/boot/melawy-test.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/melawy1-grub2.sh b/boot/melawy1-grub2.sh index e23f7cb..87e354d 100755 --- a/boot/melawy1-grub2.sh +++ b/boot/melawy1-grub2.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/melawy1-refind.sh b/boot/melawy1-refind.sh index e23f7cb..87e354d 100755 --- a/boot/melawy1-refind.sh +++ b/boot/melawy1-refind.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/melawy1-systemd-boot.sh b/boot/melawy1-systemd-boot.sh index e23f7cb..87e354d 100755 --- a/boot/melawy1-systemd-boot.sh +++ b/boot/melawy1-systemd-boot.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/melawy2-grub2-net.sh b/boot/melawy2-grub2-net.sh index e23f7cb..87e354d 100755 --- a/boot/melawy2-grub2-net.sh +++ b/boot/melawy2-grub2-net.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/melawy2-refind-net.sh b/boot/melawy2-refind-net.sh index e23f7cb..87e354d 100755 --- a/boot/melawy2-refind-net.sh +++ b/boot/melawy2-refind-net.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/melawy2-systemd-boot-net.sh b/boot/melawy2-systemd-boot-net.sh index e23f7cb..87e354d 100755 --- a/boot/melawy2-systemd-boot-net.sh +++ b/boot/melawy2-systemd-boot-net.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/rebornos.sh b/boot/rebornos.sh index 032daa5..bdb5221 100755 --- a/boot/rebornos.sh +++ b/boot/rebornos.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/xerolinux.sh b/boot/xerolinux.sh index 032daa5..bdb5221 100755 --- a/boot/xerolinux.sh +++ b/boot/xerolinux.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then diff --git a/boot/zorin.sh b/boot/zorin.sh index 032daa5..bdb5221 100755 --- a/boot/zorin.sh +++ b/boot/zorin.sh @@ -10,8 +10,8 @@ sockets=$(( $virt_cpu / 2 )) mem=$(expr $(cat /proc/meminfo | grep "MemFree" | awk '{print $2}') / 1024 - $(( 2 * 1024 )) ) -if [[ $mem -lt 6144 ]]; then - mem=6144 +if [[ $mem -lt 4096 ]]; then + mem=4096 fi if [[ $mem -gt 8192 ]]; then