change debian buster to ubuntu jammy

This commit is contained in:
Sam Heinz
2024-04-08 15:57:16 +10:00
parent c616f9891d
commit 0f88b1d665
2 changed files with 2 additions and 1 deletions

View File

@@ -178,6 +178,6 @@ PCT_OPTIONS=(${PCT_OPTIONS[@]:-${DEFAULT_PCT_OPTIONS[@]}})
# Create container # Create container
msg_info "Creating LXC Container" msg_info "Creating LXC Container"
pct create $CTID local:vztmpl/debian-arm64-bullseye.tar.xz ${PCT_OPTIONS[@]} >/dev/null || pct create $CTID local:vztmpl/ubuntu-jammy-20231124_arm64.tar.xz ${PCT_OPTIONS[@]} >/dev/null ||
exit "A problem occured while trying to create container." exit "A problem occured while trying to create container."
msg_ok "LXC Container ${BL}$CTID${CL} ${GN}was successfully created." msg_ok "LXC Container ${BL}$CTID${CL} ${GN}was successfully created."

View File

@@ -532,6 +532,7 @@ build_container() {
-tags proxmox-helper-scripts -tags proxmox-helper-scripts
$SD $SD
$NS $NS
-net0 name=eth0,bridge=$BRG$MAC,ip=$NET$GATE$VLAN$MTU
-onboot 1 -onboot 1
-cores $CORE_COUNT -cores $CORE_COUNT
-memory $RAM_SIZE -memory $RAM_SIZE