Skip to content

Commit ed16564

Browse files
committed
CNV-18714: Edit boot source disabled
Signed-off-by: Avital Pinnick <[email protected]>
1 parent 76cd9c8 commit ed16564

File tree

3 files changed

+20
-26
lines changed

3 files changed

+20
-26
lines changed

modules/virt-editing-vm-web.adoc

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,28 +30,37 @@ endif::[]
3030

3131
= Editing a {object} in the web console
3232

33-
Edit select values of a {object} in the web console by clicking the pencil icon next to the relevant field. Other values can be edited using the CLI.
33+
You can edit a {object} by using the {product-title} web console or the command line interface.
3434

35-
You can edit labels and annotations for any templates, including those provided by Red Hat. Other fields are editable for user-customized templates only.
35+
ifdef::virt-vm-template[]
36+
Editing a {object} does not affect virtual machines already created from that template.
37+
endif::virt-vm-template[]
3638

3739
.Procedure
3840

39-
. Click *Virtualization* -> *{object-gui}* from the side menu.
40-
41-
. Optional: Use the *Filter* drop-down menu to sort the list of {object}s by attributes such as status, template, node, or operating system (OS).
41+
. Navigate to *Virtualization* -> *{object-gui}* in the web console.
4242

43+
ifdef::virt-vm[]
4344
. Select a {object} to open the *{object-vm-details}* page.
4445

4546
. Click any field that has the pencil icon, which indicates that the field is editable. For example, click the current *Boot mode* setting, such as BIOS or UEFI, to open the *Boot mode* window and select an option from the list.
47+
endif::virt-vm[]
48+
ifdef::virt-vm-template[]
49+
. Click the {kebab} Options menu beside a {object} and select the object to edit.
4650

47-
. Make the relevant changes and click *Save*.
51+
. To edit a Red Hat template, click the {kebab} Options menu, select *Clone* to create a custom template, and then edit the custom template.
52+
+
53+
[NOTE]
54+
====
55+
*Edit boot source reference* is disabled if the template's data source is managed by the `DataImportCron` custom resource or if the template does not have a data volume reference.
56+
====
57+
endif::virt-vm-template[]
58+
59+
. Click *Save*.
4860

4961
// Using the attributes we declared earlier, we can have different lines after
5062
// the procedure that will be included in the different assemblies.
5163

52-
ifdef::virt-vm-template[]
53-
Editing a virtual machine template will not affect virtual machines already created from that template.
54-
endif::virt-vm-template[]
5564
ifdef::virt-vm[]
5665
[NOTE]
5766
====

modules/virt-vm-fields-web.adoc

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
//
33
// * virt/virtual_machines/virt-create-vms.adoc
44
// * virt/vm_templates/virt-creating-vm-template.adoc
5-
// * virt/vm_templates/virt-editing-vm-template.adoc
65

76
// VM wizard includes additional options to VM template wizard
87
// Call appropriate attribute in the assembly
98

10-
ifeval::["{context}" == "virt-editing-vm-template"]
11-
:object: virtual machine template
12-
:object-title: Virtual machine template
13-
endif::[]
149
ifeval::["{context}" == "virt-edit-vms"]
1510
:object: virtual machine
1611
:object-title: Virtual machine
@@ -34,21 +29,15 @@ The following table lists the {object} fields that you can edit in the {product-
3429
ifdef::virtualmachine[]
3530
|Overview
3631
endif::[]
37-
ifdef::virt-edit-vms,virt-editing-vm-template[]
32+
ifdef::virt-edit-vms[]
3833
|Details
3934
endif::[]
4035
|
41-
ifdef::virt-edit-vms,virt-editing-vm-template[]
36+
ifdef::virt-edit-vms[]
4237
* Labels
4338
* Annotations
4439
endif::[]
45-
ifdef::virt-editing-vm-template[]
46-
* Display name
47-
endif::[]
4840
* Description
49-
ifdef::virt-editing-vm-template[]
50-
* Workload profile
51-
endif::[]
5241
* CPU/Memory
5342
* Boot mode
5443
* Start in pause mode

virt/vm_templates/virt-editing-vm-template.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ You cannot edit a template provided by the Red Hat Virtualization Operator. If y
1515

1616
include::modules/virt-editing-vm-web.adoc[leveloffset=+1]
1717

18-
:virt-editing-vm-template:
19-
include::modules/virt-vm-fields-web.adoc[leveloffset=+2]
20-
:virt-editing-vm-template!:
21-
2218
include::modules/virt-add-nic-to-vm.adoc[leveloffset=+2]
2319

2420
include::modules/virt-add-disk-to-vm.adoc[leveloffset=+2]

0 commit comments

Comments
 (0)