mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
Zerobyte defaults: resources, davfs2 & migrations
Increase Zerobyte VM defaults (CPU 2→4, RAM 4096→6192). Add a debconf preseed for davfs2 (suid_file=false) to prevent interactive prompts during apt install. Remove redundant mkdir/cp of drizzle migrations and instead expose MIGRATIONS_PATH (/opt/zerobyte/app/drizzle) in the installer environment so migrations are referenced in-place rather than duplicated.
This commit is contained in:
@@ -7,8 +7,8 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
|
||||
|
||||
APP="Zerobyte"
|
||||
var_tags="${var_tags:-backup;encryption;restic}"
|
||||
var_cpu="${var_cpu:-2}"
|
||||
var_ram="${var_ram:-4096}"
|
||||
var_cpu="${var_cpu:-4}"
|
||||
var_ram="${var_ram:-6192}"
|
||||
var_disk="${var_disk:-10}"
|
||||
var_os="${var_os:-debian}"
|
||||
var_version="${var_version:-13}"
|
||||
@@ -44,8 +44,6 @@ function update_script() {
|
||||
cd /opt/zerobyte
|
||||
$STD bun install
|
||||
$STD bun run build
|
||||
mkdir -p /opt/zerobyte/assets
|
||||
cp -r /opt/zerobyte/app/drizzle /opt/zerobyte/assets/migrations
|
||||
msg_ok "Built Zerobyte"
|
||||
|
||||
msg_info "Restoring Configuration"
|
||||
|
||||
Reference in New Issue
Block a user