Update setup-npm-lxc.sh
This commit is contained in:
+2
-2
@@ -32,7 +32,7 @@ CT_NAME="npm"
|
|||||||
CT_IP="10.0.0.226/24"
|
CT_IP="10.0.0.226/24"
|
||||||
CT_GW="10.0.0.254"
|
CT_GW="10.0.0.254"
|
||||||
CT_STORAGE="local-lvm"
|
CT_STORAGE="local-lvm"
|
||||||
CT_TEMPLATE="local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst"
|
CT_TEMPLATE="local:vztmpl/debian-12-standard_12.12-1_amd64.tar.zst"
|
||||||
CT_MEMORY=512
|
CT_MEMORY=512
|
||||||
CT_SWAP=256
|
CT_SWAP=256
|
||||||
CT_CORES=2
|
CT_CORES=2
|
||||||
@@ -52,7 +52,7 @@ echo "============================================"
|
|||||||
# --- Check if template exists ---
|
# --- Check if template exists ---
|
||||||
if ! pveam list local | grep -q "debian-12-standard"; then
|
if ! pveam list local | grep -q "debian-12-standard"; then
|
||||||
echo "[1/9] Downloading Debian 12 template..."
|
echo "[1/9] Downloading Debian 12 template..."
|
||||||
pveam download local debian-12-standard_12.7-1_amd64.tar.zst
|
pveam download local debian-12-standard_12.12-1_amd64.tar.zst
|
||||||
else
|
else
|
||||||
echo "[1/9] Debian 12 template already available"
|
echo "[1/9] Debian 12 template already available"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user