Update 'test/create_container.sh'
This commit is contained in:
parent
e505483376
commit
36adcfd04d
@ -66,6 +66,7 @@ pushd $TEMP_DIR >/dev/null
|
|||||||
|
|
||||||
# Download setup script
|
# Download setup script
|
||||||
wget -qL https://git.sthope.dev/sthope/proxmox_portainer/raw/branch/master/setup.sh
|
wget -qL https://git.sthope.dev/sthope/proxmox_portainer/raw/branch/master/setup.sh
|
||||||
|
wget -qL https://git.sthope.dev/sthope/docker_portainer_stacks/raw/branch/master/portainer/portainer_stack.yml
|
||||||
|
|
||||||
# Detect modules and automatically load at boot
|
# Detect modules and automatically load at boot
|
||||||
#load_module aufs
|
#load_module aufs
|
||||||
@ -163,6 +164,7 @@ pct unmount $CTID && unset MOUNT
|
|||||||
msg "Starting LXC container..."
|
msg "Starting LXC container..."
|
||||||
pct start $CTID
|
pct start $CTID
|
||||||
pct push $CTID setup.sh /setup.sh -perms 755
|
pct push $CTID setup.sh /setup.sh -perms 755
|
||||||
|
pct push $CTID portainer_stack.yml /docker/docker-compose.yml -perms 755
|
||||||
pct exec $CTID /setup.sh
|
pct exec $CTID /setup.sh
|
||||||
|
|
||||||
# Get network details and show completion message
|
# Get network details and show completion message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user