Initial commit
This commit is contained in:
parent
ef1c43ec43
commit
1611d9d860
@ -65,7 +65,7 @@ TEMP_DIR=$(mktemp -d)
|
|||||||
pushd $TEMP_DIR >/dev/null
|
pushd $TEMP_DIR >/dev/null
|
||||||
|
|
||||||
# Download setup script
|
# Download setup script
|
||||||
wget -qL https://git.sthopeless.com/sthope/proxmox_portainer/raw/branch/master/setup.sh
|
wget -qL https://git.sthopeless.com/sthope/proxmox_docker_gitlab/raw/branch/master/setup.sh
|
||||||
|
|
||||||
# Detect modules and automatically load at boot
|
# Detect modules and automatically load at boot
|
||||||
load_module aufs
|
load_module aufs
|
||||||
@ -142,7 +142,8 @@ HOSTNAME=Gitlab
|
|||||||
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 -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, \
|
||||||
|
memory=4096, swap=2048 >/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