diff options
author | MatthewLi <matthew.lijun@huawei.com> | 2017-05-19 05:22:34 -0400 |
---|---|---|
committer | MatthewLi <matthew.lijun@huawei.com> | 2017-05-19 05:46:11 -0400 |
commit | 84e7b3b030018fd3f464bfa9c47c1df9d07ce675 (patch) | |
tree | a222bc84a7c3929c8cdc7ba3e2f2c1bda6917e43 /userconfig | |
parent | 90cbc0764d68369a0a6ce0fe09112e73fef2e760 (diff) |
hosts info config in container
JIRA: DOVETAIL-435
in some SUT, there's a need to config hosts <domain name>:<ip> info
in container /etc/hosts, ortherwise, SUT service will not be used.
usage:
1,for dovetail directly running, cd ${DOVETAIL_HOME}/userconfig
vim hosts.yaml
sth like
hosts_info:
- domain_nameA:192.168.33.101
- domain_nameB:<some IP>
2,for dovetail container running, first get inside the container,
cd /home/opnfv/dovetail/userconfig
vim hosts.yaml
same as 1.
Change-Id: Ic5d87df3d78c0fa1d08c4e972c0fc97e61b906e9
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'userconfig')
-rw-r--r-- | userconfig/hosts.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/userconfig/hosts.yaml b/userconfig/hosts.yaml new file mode 100644 index 00000000..e4687dfb --- /dev/null +++ b/userconfig/hosts.yaml @@ -0,0 +1,2 @@ +--- +hosts_info: |