writing convention: do not use “-y” for package install

refer to:
https://docs.openstack.org/contributor-guide/writing-style/ \
code-conventions.html

Change-Id: I4d1cdabf0921394cefc27c0825d2d555c32d3eb5
This commit is contained in:
chao liu 2017-08-26 20:20:53 -07:00
parent a048ccbac4
commit 94a76f28c2
5 changed files with 13 additions and 13 deletions

View File

@ -192,14 +192,14 @@ Ubuntu / Debian
Swift client and Keystone client::
$ sudo apt-get install -y python-dev
$ sudo apt-get install python-dev
For python3:
$ sudo apt-get install -y python3-dev
$ sudo apt-get install python3-dev
$ sudo easy_install -U pip
MongoDB backup::
$ sudo apt-get install -y python-pymongo
$ sudo apt-get install python-pymongo
MySQL backup::

View File

@ -41,7 +41,7 @@ Install required packages first:
.. code:: bash
sudo apt-get install -y python-dev python-pip git openssl gcc make automake
sudo apt-get install python-dev python-pip git openssl gcc make automake
Clone proper branch of Freezer Client with git:
@ -61,4 +61,4 @@ Install freezer from source:
.. code:: bash
sudo python setup.py install
sudo python setup.py install

View File

@ -38,7 +38,7 @@ Install required packages first:
.. code:: bash
sudo apt-get install -y python-dev python-pip git openssl gcc make automake
sudo apt-get install python-dev python-pip git openssl gcc make automake
Clone proper branch of Freezer API with git:

View File

@ -38,13 +38,13 @@ Install required packages first:
.. code:: bash
sudo apt-get install -y python-dev python-pip git openssl gcc make automake
sudo apt-get install python-dev python-pip git openssl gcc make automake
For python3:
.. code:: bash
sudo apt-get install -y python3-dev git openssl openssl-devel gcc make automake
sudo apt-get install python3-dev git openssl openssl-devel gcc make automake
Clone proper branch of Freezer Client with git:
@ -115,14 +115,14 @@ Install required packages first:
.. code:: bash
sudo yum install -y python-devel python-pip git openssl \
sudo yum install python-devel python-pip git openssl \
openssl-devel gcc make automake
For python3:
.. code:: bash
sudo apt-get install -y python3-devel git openssl \
sudo apt-get install python3-devel git openssl \
openssl-devel gcc make automake
Clone proper branch of Freezer Client with git:

View File

@ -12,7 +12,7 @@ you must install the database.
.. code-block:: console
$ sudo apt-get install -y default-jre-headless
$ sudo apt-get install default-jre-headless
* Download ``elasticsearch`` version 2.3.0
@ -35,7 +35,7 @@ you must install the database.
.. code-block:: console
$ sudo yum install -y java-1.8.0-openjdk-headless
$ sudo yum install java-1.8.0-openjdk-headless
* Download ``elasticsearch`` version 2.3.0
@ -47,4 +47,4 @@ you must install the database.
.. code-block:: console
$ sudo yum install -y elasticsearch-2.3.0.rpm
$ sudo yum install elasticsearch-2.3.0.rpm