forked from TheWrightServer/ProxmoxVE
Compare commits
1 Commits
main
...
fix_broken
Author | SHA1 | Date | |
---|---|---|---|
|
a3ea8cccd3 |
@ -504,7 +504,7 @@ install_script() {
|
|||||||
|
|
||||||
check_container_resources() {
|
check_container_resources() {
|
||||||
# Check actual RAM & Cores
|
# Check actual RAM & Cores
|
||||||
current_ram=$free -m | awk 'NR==2{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…
x
Reference in New Issue
Block a user