From e99a4c770c085c2c550cb6a1adf7ff78cb841b5c Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Sat, 22 Apr 2023 19:11:15 +0800 Subject: [PATCH] Update buildct.sh --- back/buildct.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/buildct.sh b/back/buildct.sh index 4196237..2ad5057 100644 --- a/back/buildct.sh +++ b/back/buildct.sh @@ -1 +1 @@ -qm create 100 --name test --memory 1024 --cores 1 --net0 bridge=vmbr1,firewall=0 --storage mypool --template local:vztmpl/debian-11-standard_11.6-1_amd64.tar.gz --password 123456 +pct create 100 local:vztmpl/debian-11-standard_11.6-1_amd64.tar.gz --cores 1 --cpuunits 1024 --memory 2048 --swap 128 --net0 name=eth0,ip=172.16.1.2/24,bridge=vmbr0,gw=172.16.1.1 --rootfs local:24 --onboot 1