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: I274b1d91cf2e0cb6555d7e897deb588a33146ac4
This commit is contained in:
Vu Cong Tuan 2017-11-08 14:28:33 +07:00
parent 67896f8a9c
commit a0f2799f26
1 changed files with 4 additions and 4 deletions

View File

@ -8,13 +8,13 @@ Required dependencies
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
:: ::
yum -y install {free}ipa-client yum install {free}ipa-client
Development or integration testing dependencies Development or integration testing dependencies
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: ::
yum -y install python-setuptools yum install python-setuptools
easy_install pip easy_install pip
pip install tox pip install tox
@ -24,13 +24,13 @@ Required dependencies
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
:: ::
apt-get -y install freeipa-client apt-get install freeipa-client
Development or integration testing dependencies Development or integration testing dependencies
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: ::
apt-get -y install python-pip apt-get install python-pip
pip install tox pip install tox
Installing novajoin from trunk source Installing novajoin from trunk source