Passwordless sudo Documentation

The information to setup passwordless sudo is only present for
multinode deployment. This patch moves all common requirements to
a 'Common Requirements' location before any of the deployment
instructions.

Change-Id: I22b14dec2153dabd57b451e0a8f7d30d423760b0
This commit is contained in:
ubuntu 2018-06-14 17:52:36 +00:00
parent 641cc4a15a
commit f5360ba1f9
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