update VNET DHCP to SYNCDHCP

This commit is contained in:
Christer Edwards
2020-04-13 19:41:50 -06:00
parent 72857be9d0
commit 21937ddbe8

View File

@@ -331,7 +331,7 @@ create_jail() {
## if 0.0.0.0 set DHCP
## else set static address
if [ "${IP}" == "0.0.0.0" ]; then
/usr/sbin/sysrc -f "${bastille_jail_rc_conf}" ifconfig_vnet0="DHCP"
/usr/sbin/sysrc -f "${bastille_jail_rc_conf}" ifconfig_vnet0="SYNCDHCP"
else
/usr/sbin/sysrc -f "${bastille_jail_rc_conf}" ifconfig_vnet0="inet ${IP}"
if [ -n "${bastille_network_gateway}" ]; then