mirror of
https://github.com/hackacad/bastille.git
synced 2026-03-24 08:47:16 +01:00
make sure to export ips
This commit is contained in:
@@ -363,8 +363,8 @@ validate_ip() {
|
||||
export IP6_ADDR="${ip6}"
|
||||
elif [ "${ip}" = "inherit" ] || [ "${ip}" = "ip_hostname" ] || [ "${ip}" = "0.0.0.0" ] || [ "${ip}" = "DHCP" ] || [ "${ip}" = "SYNCDHCP" ]; then
|
||||
info "\nValid IP: ${ip}"
|
||||
IP4_ADDR="${ip}"
|
||||
IP6_ADDR="${ip}"
|
||||
export IP4_ADDR="${ip}"
|
||||
export IP6_ADDR="${ip}"
|
||||
elif [ -n "${ip4}" ]; then
|
||||
if [ "${vnet_jail}" -eq 1 ]; then
|
||||
if [ -z "${subnet}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user