mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-06 04:34:19 +01:00
Merge pull request #379 from noracenofun/fixes-issue-#361
fixes issue #361
This commit is contained in:
@@ -379,7 +379,11 @@ create_jail() {
|
|||||||
_gateway=''
|
_gateway=''
|
||||||
_ifconfig=SYNCDHCP
|
_ifconfig=SYNCDHCP
|
||||||
if [ "${IP}" != "0.0.0.0" ]; then # not using DHCP, so set static address.
|
if [ "${IP}" != "0.0.0.0" ]; then # not using DHCP, so set static address.
|
||||||
_ifconfig="inet ${IP}"
|
if [ -n "${ip6}" ]; then
|
||||||
|
_ifconfig="inet6 ${IP}"
|
||||||
|
else
|
||||||
|
_ifconfig="inet ${IP}"
|
||||||
|
fi
|
||||||
if [ -n "${bastille_network_gateway}" ]; then
|
if [ -n "${bastille_network_gateway}" ]; then
|
||||||
_gateway="${bastille_network_gateway}"
|
_gateway="${bastille_network_gateway}"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user