Commit 872353bf authored by Ivan Tyagov's avatar Ivan Tyagov

Debian based Oses prefer this anme over eth0.

parent d1fdddd2
......@@ -4,7 +4,7 @@
# it requires socat command
ZOPE_PIDS="$(slapos node | grep 'zope\|jupyter-lab' | awk '{print substr($0, 91, 5);}')"
LOCAL_IPv4="$(/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')"
LOCAL_IPv4="$(/sbin/ifconfig ens3 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')"
port=20000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment