Skip to content

Commit

Permalink
Merge pull request #126 from mekanix/feature/nameserver
Browse files Browse the repository at this point in the history
Fix nameserver init
  • Loading branch information
mekanix authored Mar 28, 2020
2 parents 204d773 + 28e0930 commit 0cbabff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/cbsd-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion templates/initenv.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
nodeip="NODEIP"
jnameserver="MASTER_IP"
jnameserver="INTERFACE_IP"
nodeippool="JAIL_IP_POOL"
nat_enable="0"
fbsdrepo="1"
Expand Down

0 comments on commit 0cbabff

Please sign in to comment.