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: I002607baadb90c8b0da4332a9eb7ca8e6f598f9f
This commit is contained in:
Vu Cong Tuan 2017-11-08 14:34:33 +07:00
parent ec86066a19
commit fcd4b405ff
2 changed files with 3 additions and 3 deletions

View File

@ -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 \

View File

@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~