Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- Clarified the instructions that needs to run in containeri
(bsc#1252680)
- Improved CLM procedure in Adminstration Guide (bsc#1230876)
- Fixed the proxy timeout procedure in Administration Guide
(bsc#1252020)
Expand Down
37 changes: 34 additions & 3 deletions modules/client-configuration/pages/registration-bootstrap.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Additional considerations:
ifeval::[{uyuni-content} == true]

[IMPORTANT]
.GPG Keys and Uyuni Client Tools
.GPG keys and Uyuni client tools
====
The GPG key used by Uyuni Client Tools is not trusted by default.
When you create your bootstrap script, add a path to the file containing the public key fingerprint with the [systemitem]``ORG_GPG_KEY`` parameter.
Expand All @@ -48,6 +48,11 @@ After migrating from an older version of {productname} to a newer version, we st

endif::[]

[IMPORTANT]
====
To access a shell inside the server container run [literal]``mgrctl term`` on the container host.
From there, one can run the CLI tools as usual.
====


[[registering.clients.bootstrap.mgr-bootstrap]]
Expand All @@ -60,6 +65,15 @@ The arguments [option]``--activation-keys`` and [option]``--script``, are the on
On the {productname} Server, as root at the command line execute it with the mandatory arguments.
Replace [systemitem]``<ACTIVATION_KEY`` and [systemitem]``<EDITED_NAME>`` with your values:

. From the command prompt of the {productname} container host, run the following command as the root user to enter the server container:

+
----
mgrctl term
----
+
. Execute the following command (adjust the values as needed)
+
----
mgr-bootstrap --activation-keys=<ACTIVATION_KEY> --script=bootstrap-<EDITED_NAME>.sh
----
Expand All @@ -81,6 +95,7 @@ mgr-boostrap --hostname <PROXY_FQDN>

This command will create a new bootstrap script with default name [literal]``bootstrap.sh`` and it will overwrite the existing [literal]``bootstrap.sh`` file which is used for the Server.


* To specify a different script, use the following comamnd:

+
Expand Down Expand Up @@ -155,6 +170,13 @@ For more information about activation keys, see xref:client-configuration:activa
[role=procedure]
_____

. From the command prompt of the {productname} container host, run the following command as the root user to enter the server container:
+

----
mgrctl term
----
+

. On your {productname} Server, as root at the command line change to the bootstrap directory with:

Expand Down Expand Up @@ -213,6 +235,7 @@ Using environment variables allows dynamic input at runtime and makes it easier

_____


[NOTE]
====
By default, bootstrap script will try to install [package]``venv-salt-minion`` if it is available in the bootstrap repository and [package]``salt-minion`` if there is no {salt} bundle in the bootstrap repository.
Expand All @@ -233,8 +256,15 @@ When you have finished creating your script, you can use it to register clients.
[role=procedure]
_____

. On the {productname} Server, log in as root.
At the command prompt, and change to the bootstrap directory:
. From the command prompt of the {productname} container host, run the following command as the root user to enter the server container:
+

----
mgrctl term
----
+

. On the {productname} Server, change to the bootstrap directory:

+

Expand Down Expand Up @@ -282,6 +312,7 @@ curl -Sks https://server_hostname/pub/bootstrap/bootstrap.sh | /bin/bash
====
To avoid problems, make sure the bootstrap script is executed using [command]``bash``.
====

+

This script downloads the required dependencies located in the repositories directory you created earlier.
Expand Down
Loading