nova/tools/config
Zhongyue Luo a94232f79d Update sample config generator script
This patch reverts 13d80020. The help message should be added
in oslo-incubator since generate_sample.sh is synced from there also.

Resolves bug #1204204

9f2b93b Sample config file generator clean up
33f9f78 Replaces relative path to absolute path in conf file generator
c97e17b Refactors if statement in config generator
8b11fda Provide useful defaults for config generator
4c02e0a Unset OS_xx variable before generate configuration

Change-Id: I96fcb39c0c620c147fea5c96416e506a758619ce
2013-09-21 10:54:06 +09:00
..
analyze_opts.py Sync sample config file generator with Oslo 2013-07-23 13:03:34 +08:00
check_uptodate.sh Sync sample config file generator with Oslo 2013-07-23 13:03:34 +08:00
generate_sample.sh Update sample config generator script 2013-09-21 10:54:06 +09:00
README Updates tools/config/README 2013-08-22 10:15:14 +08:00

This generate_sample.sh tool is used to generate etc/nova/nova.conf.sample

Run it from the top-level working directory i.e.

  $> ./tools/config/generate_sample.sh -b ./ -p nova -o etc/nova

Watch out for warnings about modules like libvirt, qpid and zmq not
being found - these warnings are significant because they result
in options not appearing in the generated config file.


The analyze_opts.py tool is used to find options which appear in
/etc/nova/nova.conf but not in etc/nova/nova.conf.sample
This helps identify options in the nova.conf file which are not used by nova.
The tool also identifies any options which are set to the default value.

Run it from the top-level working directory i.e.

  $> ./tools/config/analyze_opts.py