Update 'test/create_container.sh'
This commit is contained in:
parent
a010922165
commit
f53edce8ed
@ -66,7 +66,6 @@ pushd $TEMP_DIR >/dev/null
|
|||||||
|
|
||||||
# Download setup script
|
# Download setup script
|
||||||
wget -qL https://git.sthope.dev/sthope/proxmox_portainer/raw/branch/master/test/setup.sh
|
wget -qL https://git.sthope.dev/sthope/proxmox_portainer/raw/branch/master/test/setup.sh
|
||||||
wget -qL https://git.sthope.dev/sthope/docker_portainer_stacks/raw/branch/master/portainer/docker-compose.yml
|
|
||||||
|
|
||||||
# Detect modules and automatically load at boot
|
# Detect modules and automatically load at boot
|
||||||
#load_module aufs
|
#load_module aufs
|
||||||
@ -159,7 +158,6 @@ pct unmount $CTID && unset MOUNT
|
|||||||
# Setup container
|
# Setup 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 docker-compose.yml /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
|
||||||
@ -167,10 +165,6 @@ IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2
|
|||||||
info "Successfully created LXC to $CTID."
|
info "Successfully created LXC to $CTID."
|
||||||
msg "
|
msg "
|
||||||
|
|
||||||
Enjoy!
|
|
||||||
Portainer: http://${IP}:9000
|
|
||||||
VSCode: http://${IP}:8433
|
|
||||||
|
|
||||||
Create root password with cmd: "passwd"
|
Create root password with cmd: "passwd"
|
||||||
And create a new user with: "adduser {USERNAME}"
|
And create a new user with: "adduser {USERNAME}"
|
||||||
"
|
"
|
Loading…
x
Reference in New Issue
Block a user