Add --assume-yes option to apt-get

During the installtion of python-yaml, apt-get shows a prompt
and it stops devstack-gate if python-yaml is not installed.

Change-Id: Iabe6d1a7dd63149bce9b0473fae2ff994f7f0856
This commit is contained in:
Akihiro Motoki
2015-03-09 02:21:12 +09:00
parent 07ede2fa30
commit d1cb5963d1

View File

@@ -69,7 +69,7 @@ function setup_localrc {
# Install PyYaml for test-matrix.py
if uses_debs; then
sudo apt-get update
sudo apt-get install python-yaml
sudo apt-get --assume-yes install python-yaml
elif is_fedora; then
sudo yum install -y PyYAML
fi