6eb0585f70
This commit just adds some documentation around using the sample config generator. It also adds a wrapper script that sets the env variable for running the oslo generator script with tempest. Change-Id: I860b17defeeb85174e68b1e8b046b0e43c30683b
11 lines
281 B
Bash
Executable File
11 lines
281 B
Bash
Executable File
#!/bin/sh
|
|
TEMPDIR=`mktemp -d`
|
|
CFGFILE=tempest.conf.sample
|
|
tools/config/generate_sample.sh -b ./ -p tempest -o $TEMPDIR
|
|
if ! diff $TEMPDIR/$CFGFILE etc/$CFGFILE
|
|
then
|
|
echo "E: tempest.conf.sample is not up to date, please run:"
|
|
echo "tools/generate_sample.sh"
|
|
exit 42
|
|
fi
|