From fcd4b405ff8053e6153207929dce1da7c9c505da Mon Sep 17 00:00:00 2001 From: Vu Cong Tuan Date: Wed, 8 Nov 2017 14:34:33 +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: I002607baadb90c8b0da4332a9eb7ca8e6f598f9f --- doc/source/install/developer/all-in-one.rst | 4 ++-- doc/source/install/multinode.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/install/developer/all-in-one.rst b/doc/source/install/developer/all-in-one.rst index b8062ea389..f3f5c9175d 100644 --- a/doc/source/install/developer/all-in-one.rst +++ b/doc/source/install/developer/all-in-one.rst @@ -53,8 +53,8 @@ necessary :: - sudo apt-get update -y - sudo apt-get install -y --no-install-recommends -qq \ + sudo apt-get update + sudo apt-get install --no-install-recommends -qq \ curl \ docker.io \ nfs-common \ diff --git a/doc/source/install/multinode.rst b/doc/source/install/multinode.rst index fd1c00940d..5ea47ef128 100644 --- a/doc/source/install/multinode.rst +++ b/doc/source/install/multinode.rst @@ -182,7 +182,7 @@ our hosts. Using our Ubuntu example: :: - sudo apt-get install ceph-common -y + sudo apt-get install ceph-common Kubernetes Node DNS Resolution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~