debug: check network

This commit is contained in:
Jose Diaz-Gonzalez committed 2021-06-08 20:36:28 -04:00
1 parent 62ef52a4cd
commit 3b655fb6a1
1 file changed
+3
+3
View File
@@ -2,6 +2,9 @@
set -eo pipefail set -eo pipefail
set -x set -x
echo "=====> ifconfig"
ifconfig
echo "=====> set hostname" echo "=====> set hostname"
hostname hostname
internal_ip="$(ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')" internal_ip="$(ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')"