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:
parent
9899aa1444
commit
8a875af39a
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue