diff --git a/doc/source/install/common-requirements.rst b/doc/source/install/common-requirements.rst new file mode 100644 index 0000000000..5175319067 --- /dev/null +++ b/doc/source/install/common-requirements.rst @@ -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- diff --git a/doc/source/install/developer/kubernetes-and-common-setup.rst b/doc/source/install/developer/kubernetes-and-common-setup.rst index 2c00fb65c2..737e6dcc67 100644 --- a/doc/source/install/developer/kubernetes-and-common-setup.rst +++ b/doc/source/install/developer/kubernetes-and-common-setup.rst @@ -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 ------------------------------ diff --git a/doc/source/install/index.rst b/doc/source/install/index.rst index 5b9836f6de..60b5fe5fee 100644 --- a/doc/source/install/index.rst +++ b/doc/source/install/index.rst @@ -6,6 +6,7 @@ Contents: .. toctree:: :maxdepth: 2 + common-requirements developer/index multinode ext-dns-fqdn diff --git a/doc/source/install/multinode.rst b/doc/source/install/multinode.rst index 6110d6d9e3..bcf7385595 100644 --- a/doc/source/install/multinode.rst +++ b/doc/source/install/multinode.rst @@ -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