Skip to content

Commit

Permalink
docs: use root over ocpadmin
Browse files Browse the repository at this point in the history
  • Loading branch information
RobHooper committed Feb 6, 2025
1 parent 6fb8920 commit 80eb8ff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
14 changes: 10 additions & 4 deletions docs/deploy/create_server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -479,10 +479,6 @@ Configure reverse DNS
- If the environment is development, add a ``-dev`` suffix.
- Do not include an integer suffix in the target name.

.. warning::

On Azure, add ``user: ocpadmin`` and ``sudo: true`` to the `target's data <https://docs.saltproject.io/en/latest/topics/ssh/roster.html#targets-data>`__.

.. tip::

If DNS is not propagated, temporarily set ``host`` to the server's IP address instead of its FQDN.
Expand All @@ -503,6 +499,16 @@ Configure reverse DNS

This step takes 3-4 minutes, so ``--log-level=trace`` is used to show activity.

.. warning::

On Azure, add ``--user=ocpadmin`` and ``--sudo``:

.. code-block:: bash
salt-ssh --log-level=trace TARGET state.apply 'onboarding,core*' --user=ocpadmin --sudo
These flags are not needed for subsequent deployments.

.. tip::

If you get the error message:
Expand Down
4 changes: 0 additions & 4 deletions docs/develop/update/firewall.rst
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,3 @@ Firewall
- :doc:`Connect to the server<../../use/ssh>` as the ``root`` user
- Run ``/home/sysadmin-tools/bin/firewall_reset.sh``
- Close port 8255 in the external firewall

.. note::

On Azure, instead of the ``root`` user, use the ``ocpadmin`` user, and run commands with ``sudo``.

0 comments on commit 80eb8ff

Please sign in to comment.