Skip to content

Commit fa1fd37

Browse files
committed
remove vm templates section
Signed-off-by: Avital Pinnick <[email protected]>
1 parent 07cd8df commit fa1fd37

File tree

39 files changed

+53
-564
lines changed

39 files changed

+53
-564
lines changed

_topic_maps/_topic_map.yml

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3674,6 +3674,10 @@ Topics:
36743674
File: virt-using-vtpm-devices
36753675
- Name: Managing virtual machines with OpenShift Pipelines
36763676
File: virt-managing-vms-openshift-pipelines
3677+
- Name: Managing automatic boot source updates
3678+
File: virt-automatic-bootsource-updates
3679+
- Name: Creating custom boot sources
3680+
File: virt-creating-and-using-boot-sources
36773681
- Name: Advanced virtual machine management
36783682
Dir: advanced_vm_management
36793683
Topics:
@@ -3782,7 +3786,7 @@ Topics:
37823786
- Name: Using DPDK with SR-IOV
37833787
File: virt-using-dpdk-with-sriov
37843788
- Name: Hot plugging secondary network interfaces
3785-
File: virt-hot-plugging-network-interfaces
3789+
File: virt-hot-plugging-network-interfaces
37863790
- Name: Connecting a VM to a service mesh
37873791
File: virt-connecting-vm-to-service-mesh
37883792
- Name: Configuring a dedicated network for live migration
@@ -3793,25 +3797,6 @@ Topics:
37933797
File: virt-accessing-vm-secondary-network-fqdn
37943798
- Name: Managing MAC address pools for network interfaces
37953799
File: virt-using-mac-address-pool-for-vms
3796-
# Templates
3797-
- Name: Virtual machine templates
3798-
Dir: vm_templates
3799-
Topics:
3800-
- Name: Creating virtual machine templates
3801-
File: virt-creating-vm-template
3802-
- Name: Editing virtual machine templates
3803-
File: virt-editing-vm-template
3804-
- Name: Enabling dedicated resources for a virtual machine template
3805-
File: virt-dedicated-resources-vm-template
3806-
- Name: Deploying a virtual machine template to a custom namespace
3807-
File: virt-deploying-vm-template-to-custom-namespace
3808-
- Name: Deleting a virtual machine template
3809-
File: virt-deleting-vm-template
3810-
- Name: Creating and using boot sources
3811-
File: virt-creating-and-using-boot-sources
3812-
- Name: Managing automatic boot source updates
3813-
File: virt-automatic-bootsource-updates
3814-
Distros: openshift-enterprise
38153800
# Virtual machine live migration
38163801
- Name: Live migration
38173802
Dir: live_migration

modules/virt-about-auto-bootsource-updates.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assembly:
22
//
3-
// * virt/vm_templates/virt-automatic-bootsource-updates.adoc
3+
// * virt/virtual_machines/virt-creating-and-using-boot-sources.adoc
44
//
55

66
:_content-type: CONCEPT

modules/virt-about-dedicated-resources.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Module included in the following assemblies:
22
//
33
// * virt/virtual_machines/advanced_vm_management/virt-dedicated-resources-vm.adoc
4-
// * virt/vm_templates/virt-dedicated-resources-vm-template.adoc
54

65
:_content-type: CONCEPT
76
[id="virt-about-dedicated-resources_{context}"]

modules/virt-about-vm-templates.adoc

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

modules/virt-about-vms-and-boot-sources.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Module included in the following assemblies:
22
//
33
// * virt/virtual_machines/virtual_disks/virt-creating-and-using-boot-sources.adoc
4-
// * virt/vm_templates/virt-creating-vm-template.adoc
4+
55

66
:_content-type: CONCEPT
77
[id="virt-about-vms-and-boot-sources_{context}"]

modules/virt-add-disk-to-vm.adoc

Lines changed: 6 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,20 @@
11
// Module included in the following assemblies:
22
//
33
// * virt/virtual_machines/virt-edit-vms.adoc
4-
// * virt/vm_templates/virt-editing-vm-template.adoc
5-
6-
// Establishing conditionals so content can be re-used for editing VMs
7-
// and VM templates.
8-
9-
ifeval::["{context}" == "virt-edit-vms"]
10-
:virt-vm:
11-
:object: virtual machine
12-
:object-gui: VirtualMachines
13-
:object-vm-overview: VirtualMachine details
14-
:tab: Configuration -> Disks
15-
endif::[]
16-
17-
ifeval::["{context}" == "virt-editing-vm-template"]
18-
:virt-vm-template:
19-
:object: virtual machine template
20-
:object-gui: Templates
21-
:object-vm-overview: Template details
22-
:tab: Disks
23-
endif::[]
244

255
:_content-type: PROCEDURE
266
[id="virt-add-disk-to-vm_{context}"]
277

28-
= Adding a virtual disk to a {object}
8+
= Adding a disk to a virtual machine
299

30-
Use this procedure to add a virtual disk to a {object}.
10+
You can add a virtual disk to a virtual machine (VM) by using the {product-title} web console.
3111

3212
.Procedure
3313

34-
. Click *Virtualization* -> *{object-gui}* from the side menu.
35-
36-
. Select a {object} to open the *{object-vm-overview}* page.
14+
. Navigate to *Virtualization* -> *VirtualMachines* in the web console.
15+
. Select a VM to open the *VirtualMachine details* page.
3716

38-
. On the *{tab}* tab, click *Add disk*.
17+
. On the *Disks* tab, click *Add disk*.
3918

4019
. Specify the *Source*, *Name*, *Size*, *Type*, *Interface*, and *Storage Class*.
4120

@@ -45,27 +24,8 @@ Use this procedure to add a virtual disk to a {object}.
4524

4625
. Click *Add*.
4726

48-
ifdef::virt-vm[]
4927
[NOTE]
5028
====
51-
If the {object} is running, the new disk is in the *pending restart* state and will not be attached until you restart the {object}.
52-
53-
The *Pending Changes* banner at the top of the page displays a list of all changes that will be applied when the {object} restarts.
29+
If the VM is running, you must restart the VM to apply the change.
5430
====
55-
endif::virt-vm[]
56-
57-
// Unsetting all conditionals used in module
58-
59-
ifeval::["{context}" == "virt-edit-vms"]
60-
:virt-vm!:
61-
:object!:
62-
:object-gui!:
63-
:object-vm-overview!:
64-
endif::[]
6531

66-
ifeval::["{context}" == "virt-editing-vm-template"]
67-
:virt-vm-template!:
68-
:object!:
69-
:object-gui!:
70-
:object-vm-overview!:
71-
endif::[]

modules/virt-add-nic-to-vm.adoc

Lines changed: 0 additions & 64 deletions
This file was deleted.
Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
// Module included in the following assemblies:
22
//
3-
// * virt/vm_templates/virt-creating-vm-template.adoc
43

54
:_content-type: PROCEDURE
65
[id="virt-adding-a-boot-source-web_{context}"]
7-
= Adding a boot source for a virtual machine template
6+
= Adding boot source to a template
87

9-
A boot source can be configured for any virtual machine template that you want to use for creating virtual machines or custom templates. When virtual machine templates are configured with a boot source, they are labeled *Source available* on the *Templates* page. After you add a boot source to a template, you can create a new virtual machine from the template.
8+
You can add a boot source or operating system image to a virtual machine (VM) template. When templates are configured with an operating system image, they are labeled *Source available* on the *Catalog* page. After you add a boot source to a template, you can create a VM from the template.
109

1110
There are four methods for selecting and adding a boot source in the web console:
1211

@@ -16,19 +15,18 @@ There are four methods for selecting and adding a boot source in the web console
1615
* *Registry (creates PVC)*
1716
1817
.Prerequisites
19-
* 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 added.
20-
21-
* To upload a local file, the operating system image file must exist on your local machine.
22-
23-
* To import via URL, access to the web server with the operating system image is required. For example: the Red Hat Enterprise Linux web page with images.
2418

19+
* You must be logged in as a user with the `os-images.kubevirt.io:edit` RBAC role or as an administrator.
20+
+
21+
You do not need special privileges to create a VM from a template with an operating system image added.
22+
* To upload a local file, the boot source file must exist on your local machine.
23+
* To download from a URL endpoint, you must have access to the web server with the boot source. For example: the Red Hat Enterprise Linux web page with images.
2524
* To clone an existing PVC, access to the project with a PVC is required.
26-
27-
* To import via registry, access to the container registry is required.
25+
* To download a boot source from a registry, access to the container registry is required.
2826
2927
.Procedure
3028

31-
. In the {product-title} console, click *Virtualization* -> *Templates* from the side menu.
29+
. In the {product-title} console, click *Virtualization* -> *Catalog* from the side menu.
3230
. Click the options menu beside a template and select *Edit boot source*.
3331
. Click *Add disk*.
3432
. In the *Add disk* window, select *Use this disk as a boot source*.
@@ -47,9 +45,7 @@ Provided boot sources are updated automatically to the latest version of the ope
4745
. Select the appropriate method to save your boot source:
4846

4947
.. Click *Save and upload* if you uploaded a local file.
50-
5148
.. Click *Save and import* if you imported content from a URL or the registry.
52-
5349
.. Click *Save and clone* if you cloned an existing PVC.
5450

5551
Your custom virtual machine template with a boot source is listed on the *Catalog* page. You can use this template to create a virtual machine.

modules/virt-adding-templates-to-custom-namespace.adoc

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

modules/virt-autoupdate-custom-bootsource.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assembly:
22
//
3-
// * virt/vm_templates/virt-automatic-bootsource-updates.adoc
3+
// * virt/virtual_machines/virt-automatic-bootsource-updates.adoc
44
//
55

66
:_content-type: PROCEDURE

0 commit comments

Comments
 (0)