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: Id5120af11c4f7a4d3d24b10ca2fdf3a243d482f4
This commit is contained in:
Vu Cong Tuan 2017-11-07 11:45:17 +07:00
parent 9899aa1444
commit 8a875af39a
1 changed files with 2 additions and 2 deletions

View File

@ -697,8 +697,8 @@ Simulating gate tests
#. Provision this VM like so::
apt-get update \
&& apt-get upgrade -y \ # Kernel upgrade, as recommended by README, select to keep existing grub config
&& apt-get install -y git tmux vim \
&& apt-get upgrade \ # Kernel upgrade, as recommended by README, select to keep existing grub config
&& apt-get install git tmux vim \
&& git clone https://git.openstack.org/openstack-infra/system-config \
&& system-config/install_puppet.sh && system-config/install_modules.sh \
&& puppet apply \