Skip to content

Commit 1f05e1f

Browse files
authored
5.1 - Clarify the instruction where they need to run. (#4471)
* Clarify the instruction where they need to run. * Update modules/client-configuration/pages/registration-bootstrap.adoc
1 parent d70497d commit 1f05e1f

File tree

2 files changed

+36
-3
lines changed

2 files changed

+36
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
- Clarified the instructions that needs to run in containeri
2+
(bsc#1252680)
13
- Improved CLM procedure in Adminstration Guide (bsc#1230876)
24
- Fixed the proxy timeout procedure in Administration Guide
35
(bsc#1252020)

modules/client-configuration/pages/registration-bootstrap.adoc

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Additional considerations:
3030
ifeval::[{uyuni-content} == true]
3131

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

4949
endif::[]
5050

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

5257

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

68+
. From the command prompt of the {productname} container host, run the following command as the root user to enter the server container:
69+
70+
+
71+
----
72+
mgrctl term
73+
----
74+
+
75+
. Execute the following command (adjust the values as needed)
76+
+
6377
----
6478
mgr-bootstrap --activation-keys=<ACTIVATION_KEY> --script=bootstrap-<EDITED_NAME>.sh
6579
----
@@ -81,6 +95,7 @@ mgr-boostrap --hostname <PROXY_FQDN>
8195
8296
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.
8397
98+
8499
* To specify a different script, use the following comamnd:
85100
86101
+
@@ -155,6 +170,13 @@ For more information about activation keys, see xref:client-configuration:activa
155170
[role=procedure]
156171
_____
157172
173+
. From the command prompt of the {productname} container host, run the following command as the root user to enter the server container:
174+
+
175+
176+
----
177+
mgrctl term
178+
----
179+
+
158180
159181
. On your {productname} Server, as root at the command line change to the bootstrap directory with:
160182
@@ -213,6 +235,7 @@ Using environment variables allows dynamic input at runtime and makes it easier
213235
214236
_____
215237

238+
216239
[NOTE]
217240
====
218241
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.
@@ -233,8 +256,15 @@ When you have finished creating your script, you can use it to register clients.
233256
[role=procedure]
234257
_____
235258
236-
. On the {productname} Server, log in as root.
237-
At the command prompt, and change to the bootstrap directory:
259+
. From the command prompt of the {productname} container host, run the following command as the root user to enter the server container:
260+
+
261+
262+
----
263+
mgrctl term
264+
----
265+
+
266+
267+
. On the {productname} Server, change to the bootstrap directory:
238268
239269
+
240270
@@ -282,6 +312,7 @@ curl -Sks https://server_hostname/pub/bootstrap/bootstrap.sh | /bin/bash
282312
====
283313
To avoid problems, make sure the bootstrap script is executed using [command]``bash``.
284314
====
315+
285316
+
286317
287318
This script downloads the required dependencies located in the repositories directory you created earlier.

0 commit comments

Comments
 (0)