Do not use “-y” for package install

According to "code conventions" [1], do not use "-y" option.
Instead, use apt-get install package, yum install package,
or zypper install package.

[1] https://docs.openstack.org/doc-contrib-guide/writing-style/
code-conventions.html

Change-Id: I19e99efe37ccb15049c920f7e41589c0e22b618a
This commit is contained in:
Vu Cong Tuan 2017-11-07 11:16:31 +07:00
parent 59dd6c7518
commit 62fb2b10a8
2 changed files with 5 additions and 5 deletions

View File

@ -48,8 +48,8 @@ Setup Libvirt
.. code-block:: console
yum update -y
yum install -y git
yum update
yum install git
reboot
@ -271,7 +271,7 @@ Install Bareon and Build Images
.. code-block:: console
cd ~/bareon
sudo yum install -y diskimage-builder
sudo yum install diskimage-builder
./bareon/tests_functional/image_build/centos_minimal.sh
.. note::

View File

@ -56,7 +56,7 @@ Follow the instructions on Running Bareon on Devstack upto and including
.. code-block:: console
cd ~/bareon
sudo yum install -y ansible
sudo yum install ansible
ansible-playbook bareon/tests_functional/ansible/bootstrap_func_tests.yaml
sudo NO_DIB=1 tox -e func
@ -76,4 +76,4 @@ environment:
.. code-block:: console
$ export BUILD_ENV=/path/to/my_bareon_env.sh
$ export BUILD_ENV=/path/to/my_bareon_env.sh