Skip to content

Commit 7dce078

Browse files
authored
Merge pull request #28763 from bgaydosrh/CNV-9040_2
CNV-9886 DOC - Boot source 2.6 UI updates
2 parents 705f188 + 40996b7 commit 7dce078

7 files changed

+99
-79
lines changed

_topic_map.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2652,8 +2652,8 @@ Topics:
26522652
File: virt-cloning-a-datavolume-using-smart-cloning
26532653
- Name: Storage defaults for data volumes
26542654
File: virt-storage-defaults-for-datavolumes
2655-
- Name: Creating and using default OS images
2656-
File: virt-creating-and-using-default-os-images
2655+
- Name: Creating and using boot sources
2656+
File: virt-creating-and-using-boot-sources
26572657
- Name: Using container disks with virtual machines
26582658
File: virt-using-container-disks-with-vms
26592659
- Name: Preparing CDI scratch space

modules/virt-creating-a-vm-from-a-default-os-image.adoc

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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-vm-from-a-template-with-an-attached-boot-source_{context}"]
6+
= Creating a virtual machine from a template with an attached boot source
7+
8+
After you add a boot source to a template, you can create a new virtual machine from the template.
9+
10+
.Procedure
11+
12+
. In the {product-title} web console, click *Workloads > Virtualization* in the side menu.
13+
. From the *Virtual Machines* tab or the *Templates* tab, click *Create* and select *Virtual Machine with Wizard*.
14+
. In the *General* step, select an OS from the Operating System list that has the *(Source available)* label next to the OS and version name. The *(Source available)* label indicates that a boot source is available for this OS.
15+
. Ensure that the *Clone available operating system source* checkbox is selected.
16+
. Click *Review and Confirm*.
17+
. Review your virtual machine settings and edit them, if required.
18+
. Click *Create Virtual Machine* to create your virtual machine. The *Successfully created virtual machine* page is displayed.

modules/virt-creating-pvcs-to-store-default-os-images.adoc

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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-using-supported-boot-source-names_{context}"]
6+
= Supported boot source names
7+
8+
When you add boot sources, you associate them with templates for specific operating systems.
9+
10+
It is important that the boot source volume name matches the predefined name of the template. If the volume name does not match the name defined by the template, you will be unable to add the boot source and use it to create virtual machines.
11+
12+
If you add a boot source by using the web console, you do not need to supply the boot source name because it is already associated with the appropriate template. When using the CLI, you must specify the supported boot source name in your YAML code when creating a volume.
13+
14+
Use the following table to determine the supported name of a boot source for various operating systems.
15+
16+
[cols="2",options="header"]
17+
.Supported boot source names for operating systems
18+
|===
19+
|To create a boot source for this OS:
20+
|Name the volume:
21+
22+
|Fedora
23+
|fedora
24+
25+
|Centos 7
26+
|centos7
27+
28+
|Centos 8
29+
|centos8
30+
31+
|Red Hat Enterprise Linux 6
32+
|rhel6
33+
34+
|Red Hat Enterprise Linux 7
35+
|rhel7
36+
37+
|Red Hat Enterprise Linux 8
38+
|rhel8
39+
40+
|Windows 10
41+
|win10
42+
43+
|Windows 2012 Server Release 2
44+
|win2k12r2
45+
46+
|Windows 2016 Server
47+
|win2k16
48+
49+
|Windows 2019 Server
50+
|win2k19
51+
52+
|===
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[id="virt-creating-and-using-boot-sources"]
2+
= Creating and using boot sources
3+
include::modules/virt-document-attributes.adoc[]
4+
:context: virt-creating-and-using-boot-sources
5+
toc::[]
6+
7+
A _boot source_ contains a bootable operating system (OS) and all of the configuration settings for the OS, such as drivers.
8+
9+
You use a boot source to create virtual machine templates with specific configurations. These templates can be used to create any number of available virtual machines.
10+
11+
.Prerequisites
12+
* To add a boot source, you must be logged in as a user with the `os-images.kubevirt.io:edit` RBAC role or as an administrator. You do not need special privileges to create a virtual machine from a template with a boot source attached.
13+
14+
[NOTE]
15+
====
16+
For information about requirements for Microsoft Windows, refer to link:https://www.openshift.com/blog/creating-an-operating-system-image-using-the-microsoft-windows-installation-media-with-openshift-virtualization[Creating installation media for Windows boot sources].
17+
====
18+
19+
// Commenting this module with list of supported DV names for 2.6. It is relevant only to 2.6.1 when the CLI flow is introduced
20+
// include::modules/virt-using-supported-boot-source-names.adoc[leveloffset=+1]
21+
22+
include::modules/virt-adding-a-boot-source-web.adoc[leveloffset=+1]
23+
24+
include::modules/virt-creating-a-vm-from-a-template-with-an-attached-boot-source.adoc[leveloffset=+1]
25+
26+
== Additional resources
27+
* xref:../../../virt/virtual_machines/virtual_disks/virt-uploading-local-disk-images-web.adoc#virt-uploading-local-disk-images-web[Uploading local disk images]

virt/virtual_machines/virtual_disks/virt-creating-and-using-default-os-images.adoc

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)