mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-11 03:15:09 +00:00
Fix Ressource-Check for other languages
This commit is contained in:
parent
f107a60062
commit
d73c19f5cd
@ -601,7 +601,7 @@ install_script() {
|
|||||||
|
|
||||||
check_container_resources() {
|
check_container_resources() {
|
||||||
# Check actual RAM & Cores
|
# Check actual RAM & Cores
|
||||||
current_ram=$(free -m | awk '/^Mem:/{print $2}')
|
current_ram=$(free -m | awk 'NR==2{print $2}')
|
||||||
current_cpu=$(nproc)
|
current_cpu=$(nproc)
|
||||||
|
|
||||||
# Check whether the current RAM is less than the required RAM or the CPU cores are less than required
|
# Check whether the current RAM is less than the required RAM or the CPU cores are less than required
|
||||||
|
Loading…
Reference in New Issue
Block a user