Bugfix: the config files in useeconfig will cover user's config 33/40733/1
authorxudan <xudan16@huawei.com>
Thu, 31 Aug 2017 06:20:25 +0000 (02:20 -0400)
committerxudan <xudan16@huawei.com>
Thu, 31 Aug 2017 06:20:25 +0000 (02:20 -0400)
commit7535dc21abcdc90c9ff54fe6b9280a659ad4604f
tree6b1f264f7b163644c4adea6605695019f86f2ac8
parent9cae583b2e411901d67ed63d5a75487ffde8e456
Bugfix: the config files in useeconfig will cover user's config

1. Now there are 2 sample files tempest_conf.yaml and hosts.yaml in userconfig,
   and thet will cover user's tempest_conf.yaml and hosts.yaml
   in $DOVETAIL_HOME/pre_config.
2. Rename the files in userconfig to be tempest_conf.yaml.sample
   and hosts.yaml.sample.
3. Add the hosts info in file /etc/hosts in Dovetail Container.

JIRA: DOVETAIL-492

Change-Id: I2b5694a8058b864b510925eec595d6f2bd1062ff
Signed-off-by: xudan <xudan16@huawei.com>
dovetail/container.py
dovetail/userconfig/hosts.yaml.sample [moved from dovetail/userconfig/hosts.yaml with 100% similarity]
dovetail/userconfig/tempest_conf.yaml.sample [moved from dovetail/userconfig/tempest_conf.yaml with 100% similarity]
dovetail/utils/dovetail_utils.py