forked from forkanization/Proxmox-arm64
+7
-2
@@ -64,8 +64,13 @@ build_container
|
|||||||
description
|
description
|
||||||
|
|
||||||
msg_info "Setting Container to Normal Resources"
|
msg_info "Setting Container to Normal Resources"
|
||||||
pct set $CTID -memory 1024
|
STATUS=$(pct status $CTID | grep -oP '(?<=status: ).*')
|
||||||
msg_ok "Set Container to Normal Resources"
|
if [ "$STATUS" == "running" ]; then
|
||||||
|
pct set $CTID -memory 1024
|
||||||
|
else
|
||||||
|
echo -e " ⚠️ ${RD}Container is not running. Will need to change memory to 1024MB manually.${CL}"
|
||||||
|
fi
|
||||||
|
msg_ok "Set Normal Resources"
|
||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${APP} should be reachable by going to the following URL.
|
echo -e "${APP} should be reachable by going to the following URL.
|
||||||
${BL}http://${IP}:5000${CL} \n"
|
${BL}http://${IP}:5000${CL} \n"
|
||||||
|
|||||||
Reference in New Issue
Block a user