Skip to content

Commit 6d5cdba

Browse files
authored
Merge pull request #33656 from bgaydosrh/CNV-9002
2 parents c5726c5 + e3018b8 commit 6d5cdba

File tree

2 files changed

+37
-2
lines changed

2 files changed

+37
-2
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/virtual_machines/virtual_disks/virt-creating-and-using-boot-sources.adoc
4+
5+
[id="virt-creating-a-custom-disk-image-boot-source-web_{context}"]
6+
= Creating a custom boot source
7+
8+
You can prepare a custom disk image, based on an existing disk image, for use as a boot source.
9+
10+
Use this procedure to complete the following tasks:
11+
12+
* Preparing a custom disk image
13+
* Creating a boot source from the custom disk image
14+
* Attaching the boot source to a custom template
15+
16+
.Procedure
17+
. In the {VirtProductName} console, click *Workloads* > *Virtualization* from the side menu.
18+
. Click the *Templates* tab.
19+
. Click the link in the *Source provider* column for the template you want to customize. A window displays, indicating that the template currently has a *defined* source.
20+
. In the window, click the *Customize source* link.
21+
. Click *Continue* in the *About boot source customization* window to proceed with customization after reading the information provided about the boot source customization process.
22+
. On the *Prepare boot source customization* page, in the *Define new template* section:
23+
.. Select the *New template namespace* field and then choose a project.
24+
.. Enter the name of the custom template in the *New template name* field.
25+
.. Enter the name of the template provider in the *New template provider* field.
26+
.. Select the *New template support* field and then choose the appropriate value, indicating support contacts for the custom template you create.
27+
.. Select the *New template flavor* field and then choose the appropriate CPU and memory values for the custom image you create.
28+
. In the *Prepare boot source for customization* section, customize the `cloud-init` YAML script, if needed, to define login credentials. Otherwise, the script generates default credentials for you.
29+
. Click *Start Customization*. The customization process begins and the *Preparing boot source customization* page displays, followed by the *Customize boot source* page. The *Customize boot source* page displays the output of the running script. When the script completes, your custom image is available.
30+
. In the *VNC console*, click *show password* in the *Guest login credentials* section. Your login credentials display.
31+
. When the image is ready for login, sign in with the *VNC Console* by providing the user name and password displayed in the *Guest login credentials* section.
32+
. Verify the custom image works as expected. If it does, click *Make this boot source available*.
33+
. In the *Finish customization and make template available* window, select
34+
*I have sealed the boot source so it can be used as a template* and then click *Apply*.
35+
. On the *Finishing boot source customization* page, wait for the template creation process to complete. Click *Navigate to template details* or *Navigate to template list* to view your customized template, created from your custom boot source.

virt/virtual_machines/virtual_disks/virt-creating-and-using-boot-sources.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ include::modules/virt-about-vms-and-boot-sources.adoc[leveloffset=+1]
99

1010
include::modules/virt-importing-rhel-image-boot-source-web.adoc[leveloffset=+1]
1111

12-
// Placeholder for module CNV-9002 Importing (Preparing?) a custom boot source image on Linux
13-
1412
include::modules/virt-adding-a-boot-source-web.adoc[leveloffset=+1]
1513

1614
include::modules/virt-creating-a-vm-from-a-template-with-an-attached-boot-source.adoc[leveloffset=+1]
1715

16+
include::modules/virt-creating-a-custom-image-boot-source-web.adoc[leveloffset=+1]
17+
1818
[id="additional-resources_creating-and-using-boot-sources"]
1919
== Additional resources
2020
* xref:../../../virt/vm_templates/virt-creating-vm-template.adoc#virt-create-vms[Creating virtual machine templates]

0 commit comments

Comments
 (0)