Add switch to check unexpected answerfile options

Added new --validate-answer-file switch to check if answerfile contains
any unexpected options. Often such options are a result of human
error or answerfile reuse in different Packstack/OpenStack versions.

Change-Id: Ie537a27e7a21086f6b41c582d846584bf1545d52
Signed-off-by: Maciej Kucia <m.kucia@partner.samsung.com>
This commit is contained in:
Maciej Kucia
2017-06-30 19:41:11 +02:00
committed by Maciej Kucia
parent e6f5e001cf
commit 53ba7df3e4
3 changed files with 46 additions and 2 deletions

View File

@@ -88,6 +88,13 @@ To make **Packstack** write more detailed information into the log file you can
$ packstack -d --allinone
When upgrading to a new OpenStack release and reusing old answerfile
it is useful to know if any **Packstack** option was removed. If answerfile is
written by hand it is possible to make a mistake. The `--validate-answer-file`
switch allows checking if any provided option is not recognized by **Packstack**.
$ packstack --validate-answer-file=ans.txt
## Developing
**Warning:**