Skip to content

Commit 710dffd

Browse files
keichwaaaannz
andauthored
Backport 5.0: Fixed issues in Image Building chapter in the Administration Guide (#4173) (#4218) (#4269)
https://bugzilla.suse.com/show_bug.cgi?id=1245987 https://github.com/SUSE/spacewalk/issues/27790 Co-authored-by: Ondřej Holeček <[email protected]>
1 parent 12f7ec1 commit 710dffd

File tree

2 files changed

+25
-11
lines changed

2 files changed

+25
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
- Fixed issues in Image Building chapter in the Administration Guide
2+
(bsc#1245987)
13
- Added proxy package installation command in Installation and
24
Upgrade Guide (bsc#1248292)
35
- Fixed invocation of spacewalk-repo-sync command in Client

modules/administration/pages/image-management.adoc

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,20 @@
1818
{productname} supports these two build types: Dockerfile and the Kiwi build type.
1919
The Kiwi build type is used to build system, virtual, and other images.
2020

21-
The image store for the Kiwi build type is pre-defined as a file system directory at [path]``/srv/www/os-images`` on the server.
21+
// Needs checking
22+
// at later places to be fix accordingly
23+
The image store for the Kiwi build type is pre-defined as a file system directory in the [path]``srv-www`` volume.
2224
{productname} serves the image store over HTTPS from [literal]``https://<SERVER-FQDN>/os-images/``.
2325
The image store location is unique and is not customizable.
2426

25-
Images are stored in [path]``/srv/www/os-image/ORGANIZATION-ID``.
27+
Images are stored in an [path]``ORGANIZATION-ID`` directory there.
2628

2729

2830
[[at.images.docker]]
2931
== Container Images
3032

31-
image::image-building.png[scaledwidth=80%]
33+
// FIXME, bsc#1245987: replace caas pattform with container host?
34+
// image::image-building.png[scaledwidth=80%]
3235

3336

3437
[[at.images.docker.requirements]]
@@ -113,6 +116,8 @@ For more information, see xref:client-configuration:activation-keys.adoc[].
113116

114117
All built images are pushed to an image store.
115118
This section contains information about creating an image store.
119+
Image store is generally referenced as a registry.
120+
116121

117122
image::images_image_stores.png[scaledwidth=80%]
118123

@@ -308,8 +313,9 @@ When you have selected a build profile, detailed information about the selected
308313
[[at.images.docker.importing]]
309314
=== Import an Image
310315

311-
You can import and inspect arbitrary images.
312-
Select menu:Images[Image List] from the left navigation bar.
316+
The second way to get an image is to import and inspect arbitrary images.
317+
To do that, select menu:Images[Image List] from the left navigation bar.
318+
313319
Complete the text boxes of the [guimenu]``Import`` dialog.
314320
When it has processed, the imported image is listed on the [guimenu]``Image List`` page.
315321

@@ -397,6 +403,10 @@ For more information, see the documentation of the underlying system.
397403
[[at.images.kiwi.buildhost]]
398404
=== Create a Build Host
399405

406+
// FIXME, bsc#1245987:
407+
// Discussing Container-Based KIWI Image Build Support here?
408+
// Perhaps 2.'docker' might be 2, but the container variant might be different?
409+
400410
To build all kinds of images with {productname}, create and configure a build host.
401411
OS Image build hosts are {salt} clients running on {sles}{nbsp}15 (SP2 or later) or {sles}{nbsp}12 (SP4 or later).
402412

@@ -490,7 +500,7 @@ Activation keys are mandatory for OS Image building.
490500

491501
[NOTE]
492502
====
493-
To build OS Images, you need an activation key that is associated with a channel other than `SUSE Manager Default`.
503+
To build OS Images, you need an activation key that is associated with a channel other than `Default` activation key.
494504
====
495505

496506
.Procedure: Creating an Activation Key
@@ -506,20 +516,22 @@ For more information, see xref:client-configuration:activation-keys.adoc[].
506516
[[at.images.kiwi.imagestore]]
507517
=== Create an Image Store
508518

519+
// For background info about Image Store, see the overview at the beginning of this chapter.
520+
509521
OS Images can require a significant amount of storage space.
510-
Therefore, we recommended that the OS Image store is located on a partition of its own or on a Btrfs subvolume, separate from the root partition.
511-
By default, the image store is located at [path]``/srv/www/os-images``.
522+
By default, the image store is using the [path]``srv-www`` volume.
523+
512524

513525
[NOTE]
514526
====
515527
Image stores for Kiwi build type, used to build system, virtual, and other images, are not supported yet.
516528
517529
ifeval::[{suma-content} == true]
518-
Images are always stored in [path]``/srv/www/os-images/ORGANIZATION-ID`` and are accessible via HTTP/HTTPS [url]``https://<susemanager_host>/os-images/ORGANIZATION-ID``.
530+
Images are always stored in [path]``.../os-images/ORGANIZATION-ID`` and are accessible via HTTP/HTTPS [url]``https://<susemanager_host>/os-images/ORGANIZATION-ID``.
519531
endif::[]
520532
521533
ifeval::[{uyuni-content} == true]
522-
Images are always stored in [path]``/srv/www/os-images/ORGANIZATION-ID`` and are accessible via HTTP/HTTPS [url]``https://<uyuni_host>/os-images/ORGANIZATION-ID``.
534+
Images are always stored in [path]``.../os-images/ORGANIZATION-ID`` and are accessible via HTTP/HTTPS [url]``https://<uyuni_host>/os-images/ORGANIZATION-ID``.
523535
endif::[]
524536
525537
====
@@ -683,7 +695,7 @@ For information about the Kiwi build system, see the https://osinside.github.io/
683695
[[at.images.kiwi.building]]
684696
=== Build an Image
685697

686-
There are two ways to build an image using the {webui}.
698+
There are two ways to build or get an image using the {webui}.
687699
Either select menu:Images[Build], or click the build icon in the menu:Images[Profiles] list.
688700

689701
image::images_image_build.png[scaledwidth=80%]

0 commit comments

Comments
 (0)