diff options
author | Yifei Xue <xueyifei@huawei.com> | 2017-09-30 16:21:04 +0800 |
---|---|---|
committer | Yifei Xue <xueyifei@huawei.com> | 2017-10-05 17:57:18 +0800 |
commit | 7b110b32e0688896967703dc2bfe7192d469164f (patch) | |
tree | 554c1fc2ec6544c8b675ed4c9460ec1d35d7dc5a /deploy | |
parent | 1c0f6a907f57e75529dcef959763220c10e7e1f0 (diff) |
Add customized DNS server support
JIRA: -
Currently Compass uses the gateway of install network as the only
DNS server of host1 to 5. Sometimes it doesn't work in some
environments. This patch we add a variable named USER_NAMESERVER
which can be exported before deployment. It is used to store a
user defined DNS nameserver.
Change-Id: Id74889c20cf09ec7e25d882b56ab6331ee64cdcf
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Diffstat (limited to 'deploy')
-rw-r--r-- | deploy/conf/compass.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/conf/compass.conf b/deploy/conf/compass.conf index bcf295c9..cc99ca59 100644 --- a/deploy/conf/compass.conf +++ b/deploy/conf/compass.conf @@ -14,7 +14,7 @@ export COMPASS_EXTERNAL_GW=${COMPASS_EXTERNAL_GW:-} export LANGUAGE="EN" export TIMEZONE="America/Los_Angeles" export NTP_SERVER="$COMPASS_SERVER" -export NAMESERVERS="$COMPASS_SERVER" +export NAMESERVERS=${USER_NAMESERVER:-"$COMPASS_SERVER"} export COMPASS_REPO_PORT="5151" export COMPASS_DECK="compass4nfv/compass-deck" |