summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-12-01 14:33:10 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-01 14:33:10 +0000
commit0608cff7a495e131d2e187aa073f8a32153345c0 (patch)
tree112719a27cdd9d904cf445a2cee706f551726009 /lib
parent199e92bf52cc75046eb41daa917bf91a65708c9f (diff)
parente9645253d2e6814fec956fd6c6036ee709ec9a3f (diff)
Merge "adding option to pass dnslookup site"
Diffstat (limited to 'lib')
-rw-r--r--lib/common-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common-functions.sh b/lib/common-functions.sh
index 2d113450..709dbf97 100644
--- a/lib/common-functions.sh
+++ b/lib/common-functions.sh
@@ -281,7 +281,7 @@ contains_prefix() {
#params: none
function verify_internet {
if ping -c 2 $ping_site > /dev/null; then
- if ping -c 2 www.google.com > /dev/null; then
+ if ping -c 2 $dnslookup_site > /dev/null; then
echo "${blue}Internet connectivity detected${reset}"
return 0
else