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: I421578ed2acae15c9f6eef2a6f0013090fdb7acc
This commit is contained in:
parent
74a86858c7
commit
461ab7315f
|
@ -216,7 +216,7 @@ To install the package on Ubuntu/Debian::
|
|||
|
||||
To install the package on RHEL/CentOS/Fedora::
|
||||
|
||||
sudo yum -y install postgresql-devel
|
||||
sudo yum install postgresql-devel
|
||||
|
||||
If you need an ephemeral PostgreSQL server to test against, you can spin one
|
||||
up with Docker easily::
|
||||
|
|
|
@ -13,14 +13,14 @@ Required dependencies
|
|||
|
||||
::
|
||||
|
||||
yum -y install gcc python-devel libffi-devel openssl-devel redhat-rpm-config
|
||||
yum install gcc python-devel libffi-devel openssl-devel redhat-rpm-config
|
||||
|
||||
Development or integration testing dependencies
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
::
|
||||
|
||||
yum -y install python-setuptools libselinux-python libxml2-devel libxslt-devel
|
||||
yum install python-setuptools libselinux-python libxml2-devel libxslt-devel
|
||||
easy_install pip
|
||||
pip install tox
|
||||
|
||||
|
@ -32,14 +32,14 @@ Required dependencies
|
|||
|
||||
::
|
||||
|
||||
apt-get -y install gcc python-dev libffi-dev libssl-dev
|
||||
apt-get install gcc python-dev libffi-dev libssl-dev
|
||||
|
||||
Development or integration testing dependencies
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
::
|
||||
|
||||
apt-get -y install python-pip libxml2-dev libxslt1-dev
|
||||
apt-get install python-pip libxml2-dev libxslt1-dev
|
||||
pip install tox
|
||||
|
||||
Installing ARA from trunk source
|
||||
|
|
|
@ -77,7 +77,7 @@ Install Apache+mod_wsgi
|
|||
|
||||
::
|
||||
|
||||
yum -y install httpd mod_wsgi
|
||||
yum install httpd mod_wsgi
|
||||
systemctl enable httpd
|
||||
systemctl start httpd
|
||||
|
||||
|
@ -175,7 +175,7 @@ Install Apache+mod_wsgi
|
|||
|
||||
::
|
||||
|
||||
apt-get install -y apache2 libapache2-mod-wsgi
|
||||
apt-get install apache2 libapache2-mod-wsgi
|
||||
systemctl enable apache2
|
||||
systemctl start apache2
|
||||
|
||||
|
|
Loading…
Reference in New Issue