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,7 +53,7 @@ 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``.
@@ -80,27 +80,38 @@ You need to keep the new file up to date with changes provided by {suse}.
8080
8181
8282
83- == Manually Generate a Bootstrap Repository
83+ == Manually generate a bootstrap repository
8484
8585By default, bootstrap repositories are regenerated daily.
8686You can manually create the bootstrap repository from the command prompt.
8787
8888
8989
90- .Procedure: Generating the Bootstrap Repository for {sle}
90+ .Procedure: Generating the bootstrap repository for {sle}
91+ [role=procedure]
92+ _____
93+
9194. At the command prompt on the {productname} Server, as root, list the available distributions to create bootstrap repositories for:
95+
9296+
97+
9398----
9499mgr-create-bootstrap-repo -l
95100----
101+
96102. Create the bootstrap repository, using the appropriate repository name as the product label:
103+
97104+
105+
98106----
99107mgr-create-bootstrap-repo -c SLE-version-x86_64
100108----
109+
101110+
111+
102112. Alternatively, use the number shown next to the distribution name in the list of available distributions.
103113
114+ _____
104115
105116The client repository is located in [path]``/srv/www/htdocs/pub/repositories/``.
106117
@@ -113,9 +124,14 @@ Use this procedure only if your environment requires it.
113124
114125
115126
116- .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+
117131. Check which parent channels you have available:
132+
118133+
134+
119135----
120136mgr-create-bootstrap-repo -c SLE-15-x86_64
121137Multiple options for parent channel found. Please use option
@@ -124,15 +140,19 @@ Multiple options for parent channel found. Please use option
124140- sle-product-sles_sap15-pool-x86_64
125141- sle-product-sled15-pool-x86_64
126142----
143+
127144. Specify the appropriate parent channel:
145+
128146+
147+
129148----
130149mgr-create-bootstrap-repo -c SLE-15-x86_64 --with-parent-channel sle-product-sled15-pool-x86_64
131150----
132151
152+ _____
133153
134154
135- === Repositories with Multiple Architectures
155+ === Repositories with multiple architectures
136156
137157
138158If you are creating bootstrap repositories that include multiple different architectures, you need to be careful that all architectures are updated correctly.
@@ -149,7 +169,7 @@ mgr-create-bootstrap-repo --no-flush -c SLE-15-SP2-s390x
149169
150170
151171
152- == Bootstrap and Custom Channels
172+ == Bootstrap and custom channels
153173
154174If you are using custom channels, you can use the [option]``--with-custom-channels`` option with the [command]``mgr-create-bootstrap-repo`` command.
155175In this case, you also need to specify the parent channel to use.
0 commit comments