Initial commit
This commit is contained in:
parent
a57d54bc73
commit
dd020b6437
@ -143,8 +143,8 @@ RAM='4098'
|
|||||||
SWAP=2048
|
SWAP=2048
|
||||||
TEMPLATE_STRING="local:vztmpl/${TEMPLATE}"
|
TEMPLATE_STRING="local:vztmpl/${TEMPLATE}"
|
||||||
pct create $CTID $TEMPLATE_STRING -arch $ARCH -features nesting=1 \
|
pct create $CTID $TEMPLATE_STRING -arch $ARCH -features nesting=1 \
|
||||||
-hostname $HOSTNAME -net0 name=eth0,bridge=vmbr0,ip=dhcp -onboot 1 \
|
-hostname $HOSTNAME --memory $RAM -net0 name=eth0,bridge=vmbr0,ip=dhcp -onboot 1 \
|
||||||
-ostype $OSTYPE -rootfs $ROOTFS, size=$DISK_SIZE -storage $STORAGE, >/dev/null
|
-ostype $OSTYPE -rootfs $ROOTFS, size=$DISK_SIZE -storage $STORAGE >/dev/null
|
||||||
|
|
||||||
# Modify LXC permissions to support Docker
|
# Modify LXC permissions to support Docker
|
||||||
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
|
LXC_CONFIG=/etc/pve/lxc/${CTID}.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user