Fix neutron func job sudo config.

The neutron functional job appears to require explicit config
to avoid using a tty in invoking sudo.

Change-Id: I3de8fd8039258625e03d0fc78e907c8462431a42
This commit is contained in:
Maru Newby 2014-07-09 19:21:46 -05:00
parent 8bf3764d9c
commit e2aeb04a0e

View File

@ -29,6 +29,7 @@
cd $BASE/new/neutron
# Run tests as the stack user to allow sudo.
sudo chown -R stack:stack $BASE/new/neutron
echo 'Defaults:stack !requiretty' | sudo tee /etc/sudoers.d/00_no_tty
echo "Running neutron functional test suite"
sudo -H -u stack tox -e functional
}}