Compare commits

...

6 Commits

Author SHA1 Message Date
CanbiZ
2ebb28e2eb CT's: fix missing variable declaration (actualBudget, openziti, umlautadaptarr) 2025-09-08 14:16:20 +02:00
CanbiZ
4c3d42d5d1 fix verbose 2025-09-08 14:09:20 +02:00
CanbiZ
299a10efe8 Update build.func 2025-09-08 14:07:25 +02:00
community-scripts-pr-app[bot]
7adac2a342 Update versions.json (#7481)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-09-08 14:05:54 +02:00
community-scripts-pr-app[bot]
eb58b10d75 Update CHANGELOG.md (#7480)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-09-08 12:03:58 +00:00
CanbiZ
5e46d81c45 [core]: switch all base_settings to variables (#7479) 2025-09-08 14:03:34 +02:00
6 changed files with 148 additions and 152 deletions

View File

@@ -18,6 +18,10 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- Update searxng-install.sh [@sebguy](https://github.com/sebguy) ([#7469](https://github.com/community-scripts/ProxmoxVE/pull/7469)) - Update searxng-install.sh [@sebguy](https://github.com/sebguy) ([#7469](https://github.com/community-scripts/ProxmoxVE/pull/7469))
- #### ✨ New Features
- [core]: switch all base_settings to variables [@MickLesk](https://github.com/MickLesk) ([#7479](https://github.com/community-scripts/ProxmoxVE/pull/7479))
- #### 💥 Breaking Changes - #### 💥 Breaking Changes
- RustDesk Server: Update the credentials info [@tremor021](https://github.com/tremor021) ([#7473](https://github.com/community-scripts/ProxmoxVE/pull/7473)) - RustDesk Server: Update the credentials info [@tremor021](https://github.com/tremor021) ([#7473](https://github.com/community-scripts/ProxmoxVE/pull/7473))

View File

@@ -6,13 +6,13 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
# Source: https://actualbudget.org/ # Source: https://actualbudget.org/
APP="Actual Budget" APP="Actual Budget"
var_tags="finance" var_tags="${var_tags:-finance}"
var_cpu="2" var_cpu="${var_cpu:-2}"
var_ram="2048" var_ram="${var_ram:-2048}"
var_disk="4" var_disk="${var_disk:-4}"
var_os="debian" var_os="${var_os:-debian}"
var_version="12" var_version="${var_version:-12}"
var_unprivileged="1" var_unprivileged="${var_unprivileged:-1}"
header_info "$APP" header_info "$APP"
variables variables

View File

@@ -6,13 +6,13 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
# Source: https://github.com/openziti/ziti # Source: https://github.com/openziti/ziti
APP="openziti-controller" APP="openziti-controller"
var_tags="network;openziti-controller" var_tags="${var_tags:-network;openziti-controller}"
var_cpu="2" var_cpu="${var_cpu:-2}"
var_ram="1024" var_ram="${var_ram:-1024}"
var_disk="8" var_disk="${var_disk:-8}"
var_os="debian" var_os="${var_os:-debian}"
var_version="12" var_version="${var_version:-12}"
var_unprivileged="1" var_unprivileged="${var_unprivileged:-1}"
header_info "$APP" header_info "$APP"
variables variables

View File

@@ -6,13 +6,13 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
# Source: https://github.com/PCJones/UmlautAdaptarr # Source: https://github.com/PCJones/UmlautAdaptarr
APP="UmlautAdaptarr" APP="UmlautAdaptarr"
var_tags="arr" var_tags="${var_tags:-arr}"
var_cpu="1" var_cpu="${var_cpu:-1}"
var_ram="512" var_ram="${var_ram:-512}"
var_disk="4" var_disk="${var_disk:-4}"
var_os="debian" var_os="${var_os:-debian}"
var_version="12" var_version="${var_version:-12}"
var_unprivileged="1" var_unprivileged="${var_unprivileged:-1}"
header_info "$APP" header_info "$APP"
variables variables

View File

@@ -1,14 +1,64 @@
[ [
{ {
"name": "9001/copyparty", "name": "autobrr/autobrr",
"version": "v1.19.8", "version": "v1.66.1",
"date": "2025-09-07T23:36:42Z" "date": "2025-09-08T10:49:03Z"
},
{
"name": "meilisearch/meilisearch",
"version": "latest",
"date": "2025-09-08T10:03:11Z"
},
{
"name": "syncthing/syncthing",
"version": "v2.0.8",
"date": "2025-09-08T08:07:18Z"
},
{
"name": "nzbgetcom/nzbget",
"version": "v25.3",
"date": "2025-09-01T09:47:06Z"
},
{
"name": "TandoorRecipes/recipes",
"version": "2.1.1",
"date": "2025-09-08T06:39:30Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.3.2",
"date": "2025-08-19T04:08:36Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.2441",
"date": "2025-09-08T06:01:57Z"
},
{
"name": "webmin/webmin",
"version": "2.501",
"date": "2025-09-08T04:50:25Z"
},
{
"name": "jeedom/core",
"version": "4.4.19",
"date": "2025-09-08T00:27:05Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v3.6.2",
"date": "2025-07-17T12:08:03Z"
}, },
{ {
"name": "paperless-ngx/paperless-ngx", "name": "paperless-ngx/paperless-ngx",
"version": "v2.18.4", "version": "v2.18.4",
"date": "2025-09-07T23:57:32Z" "date": "2025-09-07T23:57:32Z"
}, },
{
"name": "9001/copyparty",
"version": "v1.19.8",
"date": "2025-09-07T23:36:42Z"
},
{ {
"name": "Part-DB/Part-DB-server", "name": "Part-DB/Part-DB-server",
"version": "v2.1.1", "version": "v2.1.1",
@@ -39,26 +89,16 @@
"version": "v6.13.2", "version": "v6.13.2",
"date": "2025-08-19T18:18:40Z" "date": "2025-08-19T18:18:40Z"
}, },
{
"name": "firefly-iii/firefly-iii",
"version": "v6.3.2",
"date": "2025-08-19T04:08:36Z"
},
{ {
"name": "runtipi/runtipi", "name": "runtipi/runtipi",
"version": "nightly", "version": "v4.4.0",
"date": "2025-09-07T12:16:33Z" "date": "2025-09-02T19:26:18Z"
}, },
{ {
"name": "semaphoreui/semaphore", "name": "semaphoreui/semaphore",
"version": "v2.17.0-beta1", "version": "v2.17.0-beta1",
"date": "2025-09-07T08:56:50Z" "date": "2025-09-07T08:56:50Z"
}, },
{
"name": "Jackett/Jackett",
"version": "v0.22.2438",
"date": "2025-09-07T06:00:21Z"
},
{ {
"name": "Radarr/Radarr", "name": "Radarr/Radarr",
"version": "v5.27.5.10198", "version": "v5.27.5.10198",
@@ -79,16 +119,6 @@
"version": "v2.13.3.4711", "version": "v2.13.3.4711",
"date": "2025-08-28T20:06:24Z" "date": "2025-08-28T20:06:24Z"
}, },
{
"name": "jeedom/core",
"version": "4.4.19",
"date": "2025-09-07T00:27:07Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v3.6.2",
"date": "2025-07-17T12:08:03Z"
},
{ {
"name": "rcourtman/Pulse", "name": "rcourtman/Pulse",
"version": "v4.14.0", "version": "v4.14.0",
@@ -99,11 +129,6 @@
"version": "v1.6.4", "version": "v1.6.4",
"date": "2025-08-18T20:22:07Z" "date": "2025-08-18T20:22:07Z"
}, },
{
"name": "autobrr/autobrr",
"version": "v1.66.0",
"date": "2025-09-06T15:07:16Z"
},
{ {
"name": "fuma-nama/fumadocs", "name": "fuma-nama/fumadocs",
"version": "create-fumadocs-app@15.7.10", "version": "create-fumadocs-app@15.7.10",
@@ -194,11 +219,6 @@
"version": "2025.9.1", "version": "2025.9.1",
"date": "2025-09-05T11:15:21Z" "date": "2025-09-05T11:15:21Z"
}, },
{
"name": "syncthing/syncthing",
"version": "v2.0.7",
"date": "2025-09-05T10:18:24Z"
},
{ {
"name": "zitadel/zitadel", "name": "zitadel/zitadel",
"version": "v4.1.2", "version": "v4.1.2",
@@ -234,11 +254,6 @@
"version": "v1.0.0-beta17", "version": "v1.0.0-beta17",
"date": "2025-09-04T21:30:14Z" "date": "2025-09-04T21:30:14Z"
}, },
{
"name": "TandoorRecipes/recipes",
"version": "2.1.0",
"date": "2025-09-04T20:24:47Z"
},
{ {
"name": "mongodb/mongo", "name": "mongodb/mongo",
"version": "r7.0.24", "version": "r7.0.24",
@@ -259,11 +274,6 @@
"version": "v0.107.65", "version": "v0.107.65",
"date": "2025-08-20T14:02:28Z" "date": "2025-08-20T14:02:28Z"
}, },
{
"name": "webmin/webmin",
"version": "2.500",
"date": "2025-09-04T17:44:27Z"
},
{ {
"name": "ollama/ollama", "name": "ollama/ollama",
"version": "v0.11.10", "version": "v0.11.10",
@@ -454,11 +464,6 @@
"version": "preview-issue-description", "version": "preview-issue-description",
"date": "2025-09-01T12:21:58Z" "date": "2025-09-01T12:21:58Z"
}, },
{
"name": "nzbgetcom/nzbget",
"version": "v25.3",
"date": "2025-09-01T09:47:06Z"
},
{ {
"name": "grokability/snipe-it", "name": "grokability/snipe-it",
"version": "v8.3.1", "version": "v8.3.1",
@@ -574,11 +579,6 @@
"version": "v3.5.1", "version": "v3.5.1",
"date": "2025-08-27T09:21:19Z" "date": "2025-08-27T09:21:19Z"
}, },
{
"name": "meilisearch/meilisearch",
"version": "latest",
"date": "2025-08-26T14:14:42Z"
},
{ {
"name": "evcc-io/evcc", "name": "evcc-io/evcc",
"version": "0.207.5", "version": "0.207.5",

View File

@@ -26,7 +26,7 @@ elif command -v wget >/dev/null 2>&1; then
fi fi
# This function enables error handling in the script by setting options and defining a trap for the ERR signal. # This function enables error handling in the script by setting options and defining a trap for the ERR signal.
catch_errors() { catch_errors() {
set -Eeuo pipefail set -Eeo pipefail
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
} }
@@ -200,41 +200,32 @@ ssh_check() {
base_settings() { base_settings() {
# Default Settings # Default Settings
CT_TYPE="1" CT_TYPE=${var_unprivileged:-"1"}
DISK_SIZE="4" DISK_SIZE=${var_disk:-"4"}
CORE_COUNT="1" CORE_COUNT=${var_cpu:-"1"}
RAM_SIZE="1024" RAM_SIZE=${var_ram:-"1024"}
VERBOSE="${1:-no}" VERBOSE=${var_verbose:-"${1:-no}"}
PW="" PW=${var_pw:-""}
CT_ID=$NEXTID CT_ID=${var_ctid:-$NEXTID}
HN=$NSAPP HN=${var_hostname:-$NSAPP}
BRG="vmbr0" BRG=${var_brg:-"vmbr0"}
NET="dhcp" NET=${var_net:-"dhcp"}
IPV6_METHOD="none" IPV6_METHOD=${var_ipv6_method:-"none"}
IPV6_STATIC="" IPV6_STATIC=${var_ipv6_static:-""}
GATE="" GATE=${var_gateway:-""}
APT_CACHER="" APT_CACHER=${var_apt_cacher:-""}
APT_CACHER_IP="" APT_CACHER_IP=${var_apt_cacher_ip:-""}
MTU="" MTU=${var_mtu:-""}
SD="" SD=${var_storage:-""}
NS="" NS=${var_ns:-""}
MAC="" MAC=${var_mac:-""}
VLAN="" VLAN=${var_vlan:-""}
SSH="no" SSH=${var_ssh:-"no"}
SSH_AUTHORIZED_KEY="" SSH_AUTHORIZED_KEY=${var_ssh_authorized_key:-""}
TAGS="community-script;" UDHCPC_FIX=${var_udhcpc_fix:-""}
ENABLE_FUSE="${1:-no}" TAGS="community-script;${var_tags:-}"
ENABLE_TUN="${1:-no}" ENABLE_FUSE=${var_fuse:-"${1:-no}"}
ENABLE_TUN=${var_tun:-"${1:-no}"}
# Override default settings with variables from ct script
CT_TYPE=${var_unprivileged:-$CT_TYPE}
DISK_SIZE=${var_disk:-$DISK_SIZE}
CORE_COUNT=${var_cpu:-$CORE_COUNT}
RAM_SIZE=${var_ram:-$RAM_SIZE}
VERB=${var_verbose:-$VERBOSE}
TAGS="${TAGS}${var_tags:-}"
ENABLE_FUSE="${var_fuse:-$ENABLE_FUSE}"
ENABLE_TUN="${var_tun:-$ENABLE_TUN}"
# Since these 2 are only defined outside of default_settings function, we add a temporary fallback. TODO: To align everything, we should add these as constant variables (e.g. OSTYPE and OSVERSION), but that would currently require updating the default_settings function for all existing scripts # Since these 2 are only defined outside of default_settings function, we add a temporary fallback. TODO: To align everything, we should add these as constant variables (e.g. OSTYPE and OSVERSION), but that would currently require updating the default_settings function for all existing scripts
if [ -z "$var_os" ]; then if [ -z "$var_os" ]; then
@@ -244,6 +235,7 @@ base_settings() {
var_version="12" var_version="12"
fi fi
} }
write_config() { write_config() {
mkdir -p /opt/community-scripts mkdir -p /opt/community-scripts
# This function writes the configuration to a file. # This function writes the configuration to a file.
@@ -354,7 +346,7 @@ echo_default() {
echo -e "${DISKSIZE}${BOLD}${DGN}Disk Size: ${BGN}${DISK_SIZE} GB${CL}" echo -e "${DISKSIZE}${BOLD}${DGN}Disk Size: ${BGN}${DISK_SIZE} GB${CL}"
echo -e "${CPUCORE}${BOLD}${DGN}CPU Cores: ${BGN}${CORE_COUNT}${CL}" echo -e "${CPUCORE}${BOLD}${DGN}CPU Cores: ${BGN}${CORE_COUNT}${CL}"
echo -e "${RAMSIZE}${BOLD}${DGN}RAM Size: ${BGN}${RAM_SIZE} MiB${CL}" echo -e "${RAMSIZE}${BOLD}${DGN}RAM Size: ${BGN}${RAM_SIZE} MiB${CL}"
if [ "$VERB" == "yes" ]; then if [ "$VERBOSE" == "yes" ]; then
echo -e "${SEARCH}${BOLD}${DGN}Verbose Mode: ${BGN}Enabled${CL}" echo -e "${SEARCH}${BOLD}${DGN}Verbose Mode: ${BGN}Enabled${CL}"
fi fi
echo -e "${CREATING}${BOLD}${BL}Creating a ${APP} LXC using the above default settings${CL}" echo -e "${CREATING}${BOLD}${BL}Creating a ${APP} LXC using the above default settings${CL}"