From 58623931f0845dc99cfe957bc38f16a0029e60ca Mon Sep 17 00:00:00 2001 From: Vu Cong Tuan Date: Wed, 8 Nov 2017 14:33:04 +0700 Subject: [PATCH] =?UTF-8?q?Do=20not=20use=20=E2=80=9C-y=E2=80=9D=20for=20p?= =?UTF-8?q?ackage=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: I19d120c57d8f8d1a5e9ab2259587d1978ee8fbed --- doc/source/configure-octavia.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/configure-octavia.rst b/doc/source/configure-octavia.rst index f755ed80..cde83d47 100644 --- a/doc/source/configure-octavia.rst +++ b/doc/source/configure-octavia.rst @@ -83,7 +83,7 @@ For this process, use one of the physical hosts within the environment. .. code-block:: bash - apt-get install -y qemu uuid-runtime curl kpartx git jq python-pip + apt-get install qemu uuid-runtime curl kpartx git jq python-pip #. Install the necessary pip packages: @@ -123,8 +123,8 @@ Here is a script to perform all those tasks at once: .. code-block:: bash #/bin/sh - apt-get install -y qemu uuid-runtime curl kpartx git jq - pip -v >/dev/null || {apt-get install -y python-pip} + apt-get install qemu uuid-runtime curl kpartx git jq + pip -v >/dev/null || {apt-get install python-pip} pip install argparse Babel>=1.3 dib-utils PyYAML pushd /tmp git clone https://github.com/openstack/octavia.git