Merge "Passwordless sudo Documentation"

This commit is contained in:
Zuul 2018-06-19 19:29:59 +00:00 committed by Gerrit Code Review
commit c94042d619
4 changed files with 26 additions and 25 deletions

View File

@ -0,0 +1,25 @@
===============================
Commmon Deployment Requirements
===============================
Passwordless Sudo
=================
Throughout this guide the assumption is that the user is:
``ubuntu``. Because this user has to execute root level commands
remotely to other nodes, it is advised to add the following lines
to ``/etc/sudoers`` for each node:
.. code-block:: shell
root ALL=(ALL) NOPASSWD: ALL
ubuntu ALL=(ALL) NOPASSWD: ALL
Latest Version Installs
=======================
On the host or master node, install the latest versions of Git, CA Certs & Make if necessary
.. literalinclude:: ../../../tools/deployment/developer/common/000-install-packages.sh
:language: shell
:lines: 1,17-

View File

@ -2,15 +2,6 @@
Kubernetes and Common Setup
===========================
Packages
--------
Install the latest versions of Git, CA Certs & Make if necessary
.. literalinclude:: ../../../../tools/deployment/developer/common/000-install-packages.sh
:language: shell
:lines: 1,17-
Clone the OpenStack-Helm Repos
------------------------------

View File

@ -6,6 +6,7 @@ Contents:
.. toctree::
:maxdepth: 2
common-requirements
developer/index
multinode
ext-dns-fqdn

View File

@ -43,22 +43,6 @@ using KubeADM and Ansible.
OpenStack-Helm Infra KubeADM deployment
---------------------------------------
.. note::
Throughout this guide the assumption is that the user is:
``ubuntu``. Because this user has to execute root level commands
remotely to other nodes, it is advised to add the following lines
to ``/etc/suders`` for each node:
``root ALL=(ALL) NOPASSWD: ALL``
``ubuntu ALL=(ALL) NOPASSWD: ALL``
On the master node install the latest versions of Git, CA Certs & Make if necessary
.. literalinclude:: ../../../tools/deployment/developer/common/000-install-packages.sh
:language: shell
:lines: 1,17-
On the worker nodes
.. code-block:: shell