compass-core/install/setup_env.sh
xiaodongwang 6954edbe59 add reverse dns support
Change-Id: I7ba46cfd3d06379bc10916e7202540b259c1d7bf
Closes-Bug: 1399777
2014-12-05 11:58:35 -08:00

16 lines
569 B
Bash
Executable File

cat << EOF > $SCRIPT_DIR/env.conf
NIC=\${NIC:-$NIC}
IPADDR=\${IPADDR:-$IPADDR}
NETMASK=\${NETMASK:-$NETMASK}
WEB_SOURCE=\${WEB_SOURCE:-$WEB_SOURCE}
ADAPTERS_SOURCE=\${ADAPTERS_SOURCE:-$ADAPTERS_SOURCE}
OPTION_ROUTER=\${OPTION_ROUTER:-$OPTION_ROUTER}
NAMESERVER_DOMAINS=\${NAMESERVER_DOMAINS:-$NAMESERVER_DOMAINS}
NAMESERVER_REVERSE_ZONES=\${NAMESERVER_REVERSE_ZONES:-$NAMESERVER_REVERSE_ZONES}
NEXTSERVER=\${NEXTSERVER:-$NEXTSERVER}
IP_START=\${IP_START:-$IP_START}
IP_END=\${IP_END:-$IP_END}
LOCAL_REPO=\${LOCAL_REPO:-$LOCAL_REPO}
EOF
chmod ugo+x $SCRIPT_DIR/env.conf