You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/administration/pages/image-management.adoc
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,10 +29,16 @@ The Kiwi build type is used to build system, virtual, and other images.
29
29
// Needs checking
30
30
// at later places to be fix accordingly
31
31
The image store for the Kiwi build type is pre-defined as a file system directory in the [path]``srv-www`` volume.
32
-
{productname} serves the image store over HTTPS from [literal]``https://<SERVER-FQDN>/os-images/``.
33
-
The image store location is unique and is not customizable.
34
32
35
-
Images are stored in an [path]``ORGANIZATION-ID`` directory there.
33
+
ifeval::[{mlm-content} == true]
34
+
The image files can be downloaded from [path]``https://MANAGER-HOST/os-images/ORGANIZATION-ID/FILE-NAME``.
35
+
The exact location can be determined from the image details page.
36
+
endif::[]
37
+
38
+
ifeval::[{uyuni-content} == true]
39
+
The image files can be downloaded from [path]``https://UYUNI-HOST/os-images/ORGANIZATION-ID/FILE-NAME``.
40
+
The exact location can be determined from the image details page.
41
+
endif::[]
36
42
37
43
38
44
[[at.images.docker]]
@@ -630,13 +636,15 @@ By default, the image store is using the [path]``srv-www`` volume.
630
636
====
631
637
Image stores for Kiwi build type, used to build system, virtual, and other images, are not supported yet.
632
638
633
-
// FIXME
639
+
634
640
ifeval::[{mlm-content} == true]
635
-
Images are always stored in [path]``.../os-images/ORGANIZATION-ID`` and are accessible via HTTP/HTTPS [url]``https://<susemanager_host>/os-images/ORGANIZATION-ID``.
641
+
The image files can be downloaded from [path]``https://MANAGER-HOST/os-images/ORGANIZATION-ID/FILE-NAME``.
642
+
The exact location can be determined from the image details page.
636
643
endif::[]
637
644
638
645
ifeval::[{uyuni-content} == true]
639
-
Images are always stored in [path]``.../os-images/ORGANIZATION-ID`` and are accessible via HTTP/HTTPS [url]``https://<uyuni_host>/os-images/ORGANIZATION-ID``.
646
+
The image files can be downloaded from [path]``https://UYUNI-HOST/os-images/ORGANIZATION-ID/FILE-NAME``.
647
+
The exact location can be determined from the image details page.
Copy file name to clipboardExpand all lines: modules/client-configuration/pages/registration-bootstrap.adoc
+67-9Lines changed: 67 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ endif::[]
51
51
52
52
53
53
[[registering.clients.bootstrap.mgr-bootstrap]]
54
-
== Create a Bootstrap Script with [command]``mgr-bootstrap``
54
+
== Create a bootstrap script with [command]``mgr-bootstrap``
55
55
56
56
The [command]``mgr-bootstrap`` command generates custom bootstrap scripts.
57
57
A bootstrap script is used by {productname} client systems for simplifying their initial registration and configuration.
@@ -69,10 +69,24 @@ The [command]``mgr-bootstrap`` command offers several other options, including t
69
69
[NOTE]
70
70
====
71
71
72
-
If users wish to create a bootstrap script to register against the Proxy, they can do so using the following command from the Server container:
72
+
* If you wish to create a bootstrap script to register against the Proxy, you can do so by using the following command from the Server container:
73
+
74
+
+
73
75
74
76
----
75
-
mgr-boostrap --hostname $proxyfqdn
77
+
mgr-boostrap --hostname <PROXY_FQDN>
78
+
----
79
+
80
+
+
81
+
82
+
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.
83
+
84
+
* To specify a different script, use the following comamnd:
@@ -81,25 +95,35 @@ For more information, see the [literal]``mgr-bootstrap`` man page, or run [comma
81
95
82
96
83
97
84
-
== Create a Bootstrap Script from {webui}
98
+
== Create a bootstrap script from {webui}
85
99
86
100
You can use the {productname} {webui} to create an editable bootstrap script.
87
101
88
102
// 2022-10-26, ke: In step 2, check whether we can use {productname} macro.
89
103
90
-
.Procedure: Creating a Bootstrap Script
104
+
.Procedure: Creating a bootstrap script
105
+
[role=procedure]
106
+
_____
107
+
91
108
. In the {productname} {webui}, navigate to menu:Admin[Manager Configuration > Bootstrap Script].
109
+
92
110
. The required fields are pre-populated with values derived from previous installation steps.
93
111
For details on each setting, see xref:reference:admin/bootstrap-script.adoc[].
112
+
94
113
. Click btn:[Update] to create the script.
114
+
95
115
. The bootstrap script is generated and stored on the server in the [path]``/srv/www/htdocs/pub/bootstrap`` directory.
96
116
Alternatively, you can access the bootstrap script over HTTPS.
97
117
Replace [literal]``<example.com>`` with the host name of your {productname} Server:
118
+
98
119
+
120
+
99
121
----
100
122
https://<example.com>/pub/bootstrap/bootstrap.sh
101
123
----
102
124
125
+
_____
126
+
103
127
104
128
[IMPORTANT]
105
129
====
@@ -113,7 +137,7 @@ For more information about custom certificates, see xref:administration:ssl-cert
113
137
114
138
115
139
[[modify.bootstrap.script]]
116
-
== Edit a Bootstrap Script
140
+
== Edit a bootstrap script
117
141
118
142
You can copy and modify the template bootstrap script you created to customize it.
119
143
A minimal requirement when modifying a bootstrap script for use with {productname} is the inclusion of an activation key.
@@ -127,24 +151,36 @@ For more information about activation keys, see xref:client-configuration:activa
127
151
128
152
129
153
130
-
.Procedure: Modifying a Bootstrap Script
154
+
.Procedure: Modifying a bootstrap script
155
+
[role=procedure]
156
+
_____
157
+
158
+
131
159
. On your {productname} Server, as root at the command line change to the bootstrap directory with:
160
+
132
161
+
162
+
133
163
----
134
164
cd /srv/www/htdocs/pub/bootstrap/
135
165
----
166
+
136
167
. Create and rename two copies of the template bootstrap script for use with each of your clients.
168
+
137
169
+
170
+
138
171
----
139
172
cp bootstrap.sh bootstrap-sles12.sh
140
173
cp bootstrap.sh bootstrap-sles15.sh
141
174
----
175
+
142
176
. Open [path]``bootstrap-sles15.sh`` for modification.
143
177
Scroll down until you can see the text shown below.
144
178
If ``exit 1`` exists in the file, comment it out by typing a hash or pound sign (#) at the beginning of the line.
145
179
This activates the script.
146
180
Enter the name of the key for this script in the ``ACTIVATION_KEYS=`` field:
181
+
147
182
+
183
+
148
184
----
149
185
echo "Enable this script: comment (with #'s) this block (or, at least just"
150
186
echo "the exit below)"
@@ -157,6 +193,8 @@ ACTIVATION_KEYS=1-sles15
157
193
ORG_GPG_KEY=
158
194
----
159
195
196
+
+
197
+
160
198
[NOTE]
161
199
====
162
200
Instead of editing the script manually, user can pass the following environment variables at runtime:
@@ -169,8 +207,12 @@ Instead of editing the script manually, user can pass the following environment
169
207
Using environment variables allows dynamic input at runtime and makes it easier to reuse the same bootstrap script across different systems or environments.
170
208
====
171
209
210
+
+
211
+
172
212
. When you have finished, save the file, and repeat this procedure for the second bootstrap script.
173
213
214
+
_____
215
+
174
216
[NOTE]
175
217
====
176
218
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.
@@ -182,45 +224,58 @@ For more information, see xref:client-configuration:contact-methods-saltbundle.a
182
224
183
225
184
226
[[registering.clients.bootstrap.register]]
185
-
== Register Clients Running the Bootstrap Script
227
+
== Register clients running the bootstrap script
186
228
187
229
When you have finished creating your script, you can use it to register clients.
188
230
189
231
190
-
.Procedure: Running the Bootstrap Script
232
+
.Procedure: Running the bootstrap script
233
+
[role=procedure]
234
+
_____
191
235
192
236
. On the {productname} Server, log in as root.
193
237
At the command prompt, and change to the bootstrap directory:
238
+
194
239
+
195
240
196
241
----
197
242
cd /srv/www/htdocs/pub/bootstrap/
198
243
----
244
+
199
245
+
200
246
201
247
. Run this command to execute the bootstrap script on the client; replace [systemitem]``EXAMPLE.COM`` with the host name of your client:
0 commit comments