Skip to content

Commit 22c0871

Browse files
authored
Merge pull request #4383 from uyuni-project/1248803-m-fileChange
Fixed command for bootstrap repository
2 parents 2aabde7 + c855794 commit 22c0871

File tree

2 files changed

+35
-14
lines changed

2 files changed

+35
-14
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
- Fixed instruction and command in Client Configuration Guide
2+
(bsc#1248803)
13
- Added openSUSE Tumbleweed support for Uyuni
24
- Documented the new autoinstallation snippets (bsc#1194792)
35
- Improved the appearance of Web UI instructions in Administration

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

Lines changed: 33 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[[client-cfg-tools-repository]]
2-
= Bootstrap Repository
2+
= Bootstrap repository
33
:revdate: 2025-02-06
44
:page-revdate: {revdate}
55

66
A bootstrap repository contains required packages for registering clients during bootstrapping.
77
When products are synchronized, bootstrap repositories are automatically created and regenerated on the {productname} Server.
88

99

10-
== Prepare to Create a Bootstrap Repository
10+
== Prepare to create a bootstrap repository
1111

1212

1313
When you select a product for synchronization, the bootstrap repository is automatically created as soon as all mandatory channels are fully mirrored.
@@ -28,12 +28,12 @@ include::snippets/check_sync_cli.adoc[]
2828

2929

3030

31-
== Options for Automatic Mode
31+
== Options for automatic mode
3232

3333
You can change how the automated bootstrap repository creation works.
3434
This section details the various settings.
3535

36-
Flush Mode::
36+
Flush mode::
3737
By default, existing repositories are updated only with the latest packages.
3838
You can configure it to always start with an empty repository instead.
3939
To enable this behavior, add or edit this value in [path]``/etc/rhn/rhn.conf``:
@@ -42,7 +42,7 @@ To enable this behavior, add or edit this value in [path]``/etc/rhn/rhn.conf``:
4242
server.susemanager.bootstrap_repo_flush = 1
4343
----
4444

45-
Automatic Mode::
45+
Automatic mode::
4646

4747
By default, automated regeneration of the bootstrap repositories is enabled.
4848
To disable it, add or edit this value in [path]``/etc/rhn/rhn.conf``:
@@ -53,17 +53,16 @@ server.susemanager.auto_generate_bootstrap_repo = 0
5353

5454

5555

56-
=== Configure Bootstrap Data File
56+
=== Configure bootstrap data file
5757

5858
The tool uses a data file with information about which packages are required for each distribution.
5959
The data file is stored at [path]``/usr/share/susemanager/mgr_bootstrap_data.py``.
6060
{suse} updates this file regularly.
6161
If you want to makes changes to this file, do not edit it directly.
62-
Instead, create a copy in the same directory and edit your copy:
62+
Instead, create a copy in persistent directory and edit your copy:
6363

6464
----
65-
cd /usr/share/susemanager/
66-
cp mgr_bootstrap_data.py my_data.py
65+
cp /usr/share/susemanager/mgr_bootstrap_data.py /srv/susemanager/my_data.py
6766
----
6867

6968
When you have made your changes, configure {productname} to use the new file.
@@ -81,27 +80,38 @@ You need to keep the new file up to date with changes provided by {suse}.
8180

8281

8382

84-
== Manually Generate a Bootstrap Repository
83+
== Manually generate a bootstrap repository
8584

8685
By default, bootstrap repositories are regenerated daily.
8786
You can manually create the bootstrap repository from the command prompt.
8887

8988

9089

91-
.Procedure: Generating the Bootstrap Repository for {sle}
90+
.Procedure: Generating the bootstrap repository for {sle}
91+
[role=procedure]
92+
_____
93+
9294
. At the command prompt on the {productname} Server, as root, list the available distributions to create bootstrap repositories for:
95+
9396
+
97+
9498
----
9599
mgr-create-bootstrap-repo -l
96100
----
101+
97102
. Create the bootstrap repository, using the appropriate repository name as the product label:
103+
98104
+
105+
99106
----
100107
mgr-create-bootstrap-repo -c SLE-version-x86_64
101108
----
109+
102110
+
111+
103112
. Alternatively, use the number shown next to the distribution name in the list of available distributions.
104113
114+
_____
105115

106116
The client repository is located in [path]``/srv/www/htdocs/pub/repositories/``.
107117

@@ -114,9 +124,14 @@ Use this procedure only if your environment requires it.
114124

115125

116126

117-
.OPTIONAL Procedure: Specifying a Parent Channel for a Bootstrap Repository
127+
.OPTIONAL Procedure: Specifying a parent channel for a bootstrap repository
128+
[role=procedure]
129+
_____
130+
118131
. Check which parent channels you have available:
132+
119133
+
134+
120135
----
121136
mgr-create-bootstrap-repo -c SLE-15-x86_64
122137
Multiple options for parent channel found. Please use option
@@ -125,15 +140,19 @@ Multiple options for parent channel found. Please use option
125140
- sle-product-sles_sap15-pool-x86_64
126141
- sle-product-sled15-pool-x86_64
127142
----
143+
128144
. Specify the appropriate parent channel:
145+
129146
+
147+
130148
----
131149
mgr-create-bootstrap-repo -c SLE-15-x86_64 --with-parent-channel sle-product-sled15-pool-x86_64
132150
----
133151
152+
_____
134153

135154

136-
=== Repositories with Multiple Architectures
155+
=== Repositories with multiple architectures
137156

138157

139158
If you are creating bootstrap repositories that include multiple different architectures, you need to be careful that all architectures are updated correctly.
@@ -150,7 +169,7 @@ mgr-create-bootstrap-repo --no-flush -c SLE-15-SP2-s390x
150169

151170

152171

153-
== Bootstrap and Custom Channels
172+
== Bootstrap and custom channels
154173

155174
If you are using custom channels, you can use the [option]``--with-custom-channels`` option with the [command]``mgr-create-bootstrap-repo`` command.
156175
In this case, you also need to specify the parent channel to use.

0 commit comments

Comments
 (0)