From 855dcf3eae244138263b301ede7922690d01071a Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 17 Oct 2020 17:34:25 -0400 Subject: [PATCH] Fix to use SYNCDHCP by default while cloning jails --- usr/local/share/bastille/clone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/clone.sh b/usr/local/share/bastille/clone.sh index ec824141..e3badf25 100644 --- a/usr/local/share/bastille/clone.sh +++ b/usr/local/share/bastille/clone.sh @@ -120,7 +120,7 @@ update_jailconf_vnet() { # If 0.0.0.0 set DHCP, else set static IP address if [ "${IP}" == "0.0.0.0" ]; then - sysrc -f "${bastille_jail_rc_conf}" ifconfig_vnet0="DHCP" + sysrc -f "${bastille_jail_rc_conf}" ifconfig_vnet0="SYNCDHCP" else sysrc -f "${bastille_jail_rc_conf}" ifconfig_vnet0="inet ${IP}" fi