Skip to content

Commit

Permalink
Do not use “-y” for package install
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Vu Cong Tuan committed Nov 8, 2017
1 parent ec86066 commit fcd4b40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/source/install/developer/all-in-one.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion doc/source/install/multinode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit fcd4b40

Please sign in to comment.