Merge branch 'tteck:main' into main

This commit is contained in:
Sam Heinz
2024-04-12 11:08:34 +10:00
committed by GitHub
2 changed files with 7 additions and 5 deletions

View File

@@ -20,8 +20,8 @@ header_info
echo -e "Loading..."
APP="Actual Budget"
var_disk="4"
var_cpu="1"
var_ram="1024"
var_cpu="2"
var_ram="2048"
var_os="debian"
var_version="12"
variables
@@ -68,7 +68,10 @@ exit
start
build_container
description
msg_info "Setting Container to Normal Resources"
pct set $CTID -memory 1024
pct set $CTID -cores 1
msg_ok "Set Container to Normal Resources"
msg_ok "Completed Successfully!\n"
echo -e "${APP} should be reachable by going to the following URL.
${BL}http://${IP}:5006${CL} \n"

View File

@@ -84,9 +84,8 @@ else
exit
fi
function PVE_CHECK() {
if ! pveversion | grep -Eq "pve-manager/(7.4-[1][3-9]|8.1.[1-9])"; then
if ! pveversion | grep -Eq "pve-manager/7.[0-4]"; then
echo -e "${CROSS} This version of Proxmox Virtual Environment is not supported"
echo -e "Requires PVE7 Version 7.4-13 or later, or PVE8 Version 8.1.1 or later."
echo -e "Exiting..."
sleep 2
exit