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: I19e99efe37ccb15049c920f7e41589c0e22b618a
This commit is contained in:
parent
59dd6c7518
commit
62fb2b10a8
@ -48,8 +48,8 @@ Setup Libvirt
|
|||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
yum update -y
|
yum update
|
||||||
yum install -y git
|
yum install git
|
||||||
reboot
|
reboot
|
||||||
|
|
||||||
|
|
||||||
@ -271,7 +271,7 @@ Install Bareon and Build Images
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cd ~/bareon
|
cd ~/bareon
|
||||||
sudo yum install -y diskimage-builder
|
sudo yum install diskimage-builder
|
||||||
./bareon/tests_functional/image_build/centos_minimal.sh
|
./bareon/tests_functional/image_build/centos_minimal.sh
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
@ -56,7 +56,7 @@ Follow the instructions on Running Bareon on Devstack upto and including
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cd ~/bareon
|
cd ~/bareon
|
||||||
sudo yum install -y ansible
|
sudo yum install ansible
|
||||||
ansible-playbook bareon/tests_functional/ansible/bootstrap_func_tests.yaml
|
ansible-playbook bareon/tests_functional/ansible/bootstrap_func_tests.yaml
|
||||||
sudo NO_DIB=1 tox -e func
|
sudo NO_DIB=1 tox -e func
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user