mirror of
https://github.com/ej52/proxmox-scripts.git
synced 2025-07-23 07:58:13 +02:00
fix: change how IP is retrieved
This commit is contained in:
parent
8d78dc789a
commit
967d0b297d
@ -229,7 +229,7 @@ log "Starting services"
|
|||||||
runcmd systemctl start openresty
|
runcmd systemctl start openresty
|
||||||
runcmd systemctl start npm
|
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
|
log "Installation complete
|
||||||
|
|
||||||
\e[0mNginx Proxy Manager should be reachable at the following URL.
|
\e[0mNginx Proxy Manager should be reachable at the following URL.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user