From 1b4c5dfc8bdd00ba32b8a604ff52f0bbe4efdeb1 Mon Sep 17 00:00:00 2001 From: Vu Cong Tuan Date: Wed, 8 Nov 2017 14:40:54 +0700 Subject: [PATCH] =?UTF-8?q?Do=20not=20use=20=E2=80=9C-y=E2=80=9D=20for=20p?= =?UTF-8?q?ackage=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: I174c8a0c653e322bbf951d72445b1a43251baa7e --- doc/source/admin/ways-to-install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/admin/ways-to-install.rst b/doc/source/admin/ways-to-install.rst index d007cec3c..f0233dbdc 100644 --- a/doc/source/admin/ways-to-install.rst +++ b/doc/source/admin/ways-to-install.rst @@ -126,7 +126,7 @@ Here is single Dockerfile snippet you can use to run your Docker container: MAINTAINER David TARDIVEL RUN apt-get update - RUN apt-get dist-upgrade -y + RUN apt-get dist-upgrade RUN apt-get install vim net-tools RUN apt-get install experimental watcher-api