Remove the usage of tox command in devstack

The command 'tox' won't be always available in devstack environment.
Switch to the generate config sample script instead.

Change-Id: I6dc762ba4a210de8673661b0a17dc0238cabaad5
This commit is contained in:
Hongbin Lu 2017-05-02 23:38:19 -04:00
parent 9250eceb7d
commit adcb9137dd
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ function create_fuxi_account {
function configure_fuxi {
sudo install -d -o $STACK_USER $FUXI_CONFIG_DIR
(cd $FUXI_HOME && tox -egenconfig)
(cd $FUXI_HOME && exec ./tools/generate_config_file_samples.sh)
cp $FUXI_HOME/etc/fuxi.conf.sample $FUXI_CONFIG