From 28e0930fffa2740282908b7fc821003ae022b5e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Goran=20Meki=C4=87?= Date: Sat, 28 Mar 2020 14:47:58 +0100 Subject: [PATCH] Fix nameserver init --- scripts/cbsd-init.sh | 2 +- templates/initenv.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cbsd-init.sh b/scripts/cbsd-init.sh index 272e8cf..29f7bbc 100755 --- a/scripts/cbsd-init.sh +++ b/scripts/cbsd-init.sh @@ -46,7 +46,7 @@ setup_cbsd() { -e "s:JAIL_IP_POOL:${JAIL_IP_POOL}:g" \ -e "s:ZFSFEAT:${ZFSFEAT}:g" \ -e "s:CBSD_WORKDIR:${CBSD_WORKDIR}:g" \ - -e "s:MASTER_IP:${MASTER_IP}:g" \ + -e "s:INTERFACE_IP:${INTERFACE_IP}:g" \ ${SCRIPT_DIR}/../templates/initenv.conf >"${TEMP_INITENV_CONF}" env workdir="${CBSD_WORKDIR}" /usr/local/cbsd/sudoexec/initenv "${TEMP_INITENV_CONF}" diff --git a/templates/initenv.conf b/templates/initenv.conf index 6e73c68..fba0736 100644 --- a/templates/initenv.conf +++ b/templates/initenv.conf @@ -1,5 +1,5 @@ nodeip="NODEIP" -jnameserver="MASTER_IP" +jnameserver="INTERFACE_IP" nodeippool="JAIL_IP_POOL" nat_enable="0" fbsdrepo="1"