From 2ac9e33ce7d1d3c1071e50507862c2717cd718ca Mon Sep 17 00:00:00 2001 From: Zachary Klosko Date: Sun, 3 Jan 2021 13:43:53 -0500 Subject: [PATCH] Adding Ubuntu Bionic IP lookup to installer script --- install | 1 + 1 file changed, 1 insertion(+) diff --git a/install b/install index 79b8de7d8..904c56699 100755 --- a/install +++ b/install @@ -1210,6 +1210,7 @@ else # not on centos ip_device="eth0" $is_ubuntu_xenial && ip_device="enp0s8" + $is_ubuntu_bionic && ip_device="enp0s2" IP=$(ifconfig ${ip_device} 2>/dev/null |awk -F'[ :]+' '/inet addr:/ {print $4}') fi verbose "...Done"