Update 'create_container.sh'

This commit is contained in:
sthope 2021-04-10 21:50:15 +02:00
parent bcc1060f17
commit 440b5cee8b

View File

@ -169,12 +169,11 @@ pct exec $CTID /setup.sh
# Get network details and show completion message # Get network details and show completion message
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}') IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
info "Successfully created Portainer LXC to $CTID." info "Successfully created LXC to $CTID."
msg " msg "
Portainer is reachable by going to the following URLs. Enjoy!
http://${IP}:9000 Portainer: http://${IP}:9000
http://${HOSTNAME}.local:9000
" "