11[[client-cfg-tools-repository]]
2- = Bootstrap Repository
2+ = Bootstrap repository
33:revdate: 2025-02-06
44:page-revdate: {revdate}
55
66A bootstrap repository contains required packages for registering clients during bootstrapping.
77When 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
1313When 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
3333You can change how the automated bootstrap repository creation works.
3434This section details the various settings.
3535
36- Flush Mode ::
36+ Flush mode ::
3737By default, existing repositories are updated only with the latest packages.
3838You can configure it to always start with an empty repository instead.
3939To 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``:
4242server.susemanager.bootstrap_repo_flush = 1
4343----
4444
45- Automatic Mode ::
45+ Automatic mode ::
4646
4747By default, automated regeneration of the bootstrap repositories is enabled.
4848To 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
5858The tool uses a data file with information about which packages are required for each distribution.
5959The data file is stored at [path]``/usr/share/susemanager/mgr_bootstrap_data.py``.
6060{suse} updates this file regularly.
6161If 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
6968When 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
8685By default, bootstrap repositories are regenerated daily.
8786You 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----
9599mgr-create-bootstrap-repo -l
96100----
101+
97102. Create the bootstrap repository, using the appropriate repository name as the product label:
103+
98104+
105+
99106----
100107mgr-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
106116The 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----
121136mgr-create-bootstrap-repo -c SLE-15-x86_64
122137Multiple 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----
131149mgr-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
139158If 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
155174If you are using custom channels, you can use the [option]``--with-custom-channels`` option with the [command]``mgr-create-bootstrap-repo`` command.
156175In this case, you also need to specify the parent channel to use.
0 commit comments