mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 21:34:11 -07:00
workaround for weird issue on OpenVZ
This commit is contained in:
parent
48ba0f835c
commit
028a7a5fe7
1 changed files with 8 additions and 0 deletions
|
@ -173,6 +173,14 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Worarkound for OpenVZ
|
||||||
|
if [ -e "/proc/vz/veinfo" ]; then
|
||||||
|
dig @8.8.8.8 google.com +time=1 +tries=1 >/dev/null 2>&1
|
||||||
|
if [ "$?" -ne 0 ]; then
|
||||||
|
$BIN/v-stop-firewall
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------#
|
#----------------------------------------------------------#
|
||||||
# Vesta #
|
# Vesta #
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue