Removing Ubuntu Bionic return IP instruction
This commit is contained in:
parent
2135c0038e
commit
574928016b
1 changed files with 0 additions and 1 deletions
1
install
1
install
|
@ -1210,7 +1210,6 @@ else
|
||||||
# not on centos
|
# not on centos
|
||||||
ip_device="eth0"
|
ip_device="eth0"
|
||||||
$is_ubuntu_xenial && ip_device="enp0s8"
|
$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}')
|
IP=$(ifconfig ${ip_device} 2>/dev/null |awk -F'[ :]+' '/inet addr:/ {print $4}')
|
||||||
fi
|
fi
|
||||||
verbose "...Done"
|
verbose "...Done"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue