Merge pull request #45 from ej52/develop

fix: change how IP is retrieved
This commit is contained in:
Elton Renda 2021-08-12 12:31:11 +02:00 committed by GitHub
commit 840d4113a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,7 +229,7 @@ log "Starting services"
runcmd systemctl start openresty
runcmd systemctl start npm
IP=$(ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
IP=$(hostname -I | cut -f1 -d ' ')
log "Installation complete
\e[0mNginx Proxy Manager should be reachable at the following URL.