Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions modules/virt-about-vm-templates.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// Module included in the following assemblies:
//
// * virt/vm_templates/virt-creating-vm-template.adoc

[id="virt-understanding-vm-templates-web_{context}"]
= About virtual machine templates

Preconfigured Red Hat virtual machine templates are listed in the *Templates* tab within the *Virtualization* page. These templates are available for different versions of Red Hat Enterprise Linux, Fedora, Microsoft Windows 10, and Microsoft Windows Servers. Each Red Hat virtual machine template is preconfigured with the operating system image, default settings for the operating system, flavor (CPU and memory), and workload type (server).

The *Templates* tab displays four types of virtual machine templates:

* *Red Hat Supported* templates are fully supported by Red Hat.
* *User Supported* templates are *Red Hat Supported* templates that were cloned and created by users.
* *Red Hat Provided* templates have limited support from Red Hat.
* *User Provided* templates are *Red Hat Provided* templates that were cloned and created by users.

[NOTE]
====
In the Templates tab, you cannot edit or delete Red Hat Supported or Red Hat Provided templates. You can only edit or delete custom virtual machine templates that were created by users.
====

Using a Red Hat template is convenient because the template is already preconfigured. When you select a Red Hat template to create your own custom template, the *Create Virtual Machine Template* wizard prompts you to add a boot source if a boot source was not added previously. Then, you can either save your custom template or continue to customize it and save it.

You can also select the *Create Virtual Machine Template* wizard directly and create a custom virtual machine template. The wizard prompts you to provide configuration details for the operating system, flavor, workload type, and other settings. You can add a boot source and continue to customize your template and save it.
12 changes: 8 additions & 4 deletions modules/virt-add-disk-to-vm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
ifeval::["{context}" == "virt-edit-vms"]
:virt-vm:
:object: virtual machine
:object-gui: Virtual Machine
:object-gui: Virtual Machines
:object-vm-overview: Virtual Machine Overview
endif::[]

ifeval::["{context}" == "virt-editing-vm-template"]
:virt-vm-template:
:object: virtual machine template
:object-gui: Virtual Machine Template
:object-gui: Templates
:object-vm-overview: VM Template Details
endif::[]

[id="virt-vm-add-disk_{context}"]
Expand All @@ -27,8 +29,8 @@ Use this procedure to add a virtual disk to a {object}.
.Procedure

. Click *Workloads* -> *Virtualization* from the side menu.
. Click the *{object-gui}s* tab.
. Select a {object} to open the *{object-gui} Overview* screen.
. Click the *{object-gui}* tab.
. Select a {object} to open the *{object-vm-overview}* screen.
. Click the *Disks* tab.
. Click *Add Disk* to open the *Add Disk* window.
. In the *Add Disk* window, specify the *Source*, *Name*, *Size*, *Interface*, *Type*, and *Storage Class*.
Expand All @@ -50,10 +52,12 @@ ifeval::["{context}" == "virt-edit-vms"]
:virt-vm!:
:object!:
:object-gui!:
:object-vm-overview!:
endif::[]

ifeval::["{context}" == "virt-editing-vm-template"]
:virt-vm-template!:
:object!:
:object-gui!:
:object-vm-overview!:
endif::[]
10 changes: 7 additions & 3 deletions modules/virt-add-nic-to-vm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ ifeval::["{context}" == "virt-edit-vms"]
:virt-vm:
:object: virtual machine
:object-gui: Virtual Machine
:object-vm-overview: Virtual Machine Overview
endif::[]

ifeval::["{context}" == "virt-editing-vm-template"]
:virt-vm-template:
:object: virtual machine template
:object-gui: Virtual Machine Template
:object-gui: Templates
:object-vm-overview: VM Template Details
endif::[]

[id="virt-vm-add-nic_{context}"]
Expand All @@ -24,8 +26,8 @@ Use this procedure to add a network interface to a {object}.
.Procedure

. Click *Workloads* -> *Virtualization* from the side menu.
. Click the *{object-gui}s* tab.
. Select a {object} to open the *{object-gui} Overview* screen.
. Click the *{object-gui}* tab.
. Select a {object} to open the *{object-vm-overview}* screen.
. Click the *Network Interfaces* tab.
. Click *Add Network Interface*.
. In the *Add Network Interface* window, specify the *Name*, *Model*, *Network*, *Type*,
Expand All @@ -47,10 +49,12 @@ ifeval::["{context}" == "virt-edit-vms"]
:virt-vm!:
:object!:
:object-gui!:
:object-vm-overview!:
endif::[]

ifeval::["{context}" == "virt-editing-vm-template"]
:virt-vm-template!:
:object!:
:object-gui!:
:object-vm-overview!:
endif::[]
40 changes: 40 additions & 0 deletions modules/virt-adding-a-boot-source-web.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// Module included in the following assemblies:
//
// * virt/vm_templates/virt-creating-vm-template.adoc

[id="virt-adding-a-boot-source-web_{context}"]
= Adding a boot source for a virtual machine template

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 *Available* in the *Templates* tab.

.Procedure

. In the {VirtProductName} console, click *Workloads* -> *Virtualization* from the side menu.

. Click the *Templates* tab.

. Identify the virtual machine template for which you want to configure a boot source and click *Add source*.

. In the *Add boot source to template* window, click *Select boot source*, select a method for creating a persistent volume claim (PVC): *Upload local file*, *Import via URL*, *Clone existing PVC*, or *Import via Registry*.

.. Optional: Click *Mount this as a CD-ROM boot source* to add an additional disk and mount the disk as a CD-ROM.

. Enter a value for *Persistent Volume Claim size* to specify the PVC size that is adequate for the uncompressed image and any additional space that is required.

.. Optional: Enter a name for *Source provider* to associate the name with this template.

.. Advanced: Click *Storage class* and select the storage class that is used to create the disk.

.. Advanced: Click *Access mode* and select an access mode for the persistent volume. Supported access modes are: *Single User (RWO)*, *Shared Access (RWX)*, and *Read Only (ROX)*.

.. Advanced: Click *Volume mode* if you want to select *Block* instead of the default value *Filesystem*.

. Select the appropriate method to save your boot source:

.. Click *Save and upload* if you uploaded a local file.

.. Click *Save and import* if you imported content from a URL or the registry.

.. Click *Save and clone* if you cloned an existing PVC.

Your custom virtual machine template with a boot source is listed in the *Templates* tab, and you can create virtual machines by using this template.
2 changes: 1 addition & 1 deletion modules/virt-cloud-init-fields-web.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
|Hostname
|Sets a specific host name for the virtual machine.

|Authenticated SSH Keys
|Authorized SSH Keys
|The user's public key that is copied to *_~/.ssh/authorized_keys_* on the virtual machine.

|Custom script
Expand Down
46 changes: 30 additions & 16 deletions modules/virt-creating-template-wizard-web.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,48 @@
// * virt/vm_templates/virt-creating-vm-template.adoc

[id="virt-creating-template-wizard-web_{context}"]
= Creating a virtual machine template with the interactive wizard in the web console
= Creating a virtual machine template with the wizard in the web console

The web console features an interactive wizard that guides you through the *General*,
*Networking*, *Storage*, *Advanced*, and *Review* steps to simplify the process of creating virtual machine templates.
All required fields are marked with a `*`. The wizard prevents you from moving to the next step
until you provide values in the required fields.
The web console features the *Create Virtual Machine Template* wizard that guides you through the *General*, *Networking*, *Storage*, *Advanced*, and *Review* steps to simplify the process of creating virtual machine templates. All required fields are marked with a ++*++. The *Create Virtual Machine Template* wizard prevents you from moving to the next step until you provide values in the required fields.

[NOTE]
====
The wizard guides you to create a custom virtual machine template where you specify the operating system, boot source, flavor, and other settings.
====

.Procedure

. In the {VirtProductName} console, click *Workloads* -> *Virtualization* from the side menu.
. Click the *Virtual Machine Templates* tab.
. Click *Create Template* and select *New with Wizard*.

. Click the *Templates* tab.

. Click *Create* and select *Template with Wizard*.

. Fill in all required fields in the *General* step.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe 'tab' is a better term here than 'step'? Tabs in the wizard.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The use of "step" was explicitly approved in one of the previous releases by developers/QE (I can't recall the specific release and when). I am hesitant to change any use of the word "step" to "tab" without raising awareness within our team (other writers might be using the UI flow for VMs and VM templates - I think Bob and Matthew are, perhaps others). How about we discuss this in our team meeting and then we are all on the same page with this proposed change?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the use of step was discussed with and approved by the developers, I am okay with it. My only suggestion would be to use that term consistently throughout. There were a couple of instances where the term screen or pane are used to refer to these steps.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing, agree.

. Click *Next* to progress to the *Networking* screen. A NIC that is named `nic0` is attached by default.

. Click *Next* to progress to the *Networking* step. A NIC that is named `nic0` is attached by default.

.. Optional: Click *Add Network Interface* to create additional NICs.

.. Optional: You can remove any or all NICs by clicking the Options menu {kebab} and selecting *Delete*. Virtual machines created from a template do not need a NIC attached. NICs can be created after a virtual machine has been created.
. Click *Next* to progress to the *Storage* screen.
.. Optional: Click *Add Disk* to create additional disks.
.. Optional: Click a disk to modify available fields. Click the ✓ button to save the changes.
.. Optional: Click *Disk* to choose an available disk from the *Select Storage* list.

. Click *Next* to progress to the *Storage* step.

. Click *Add Disk* to add a disk, and complete your selections for the fields in the *Add Disk* screen.
+
[NOTE]
====
If either *URL* or *Container* are selected as the *Source* in the *General* step, a `rootdisk` disk is created and attached to virtual machines as the *Bootable Disk*. You can modify the `rootdisk` but you cannot remove it.
If either *Import via URL (creates PVC)* or *Import via Registry (creates PVC)* is selected as the *Source*, a `rootdisk` disk is created and attached to virtual machines as the *Bootable Disk*.

A *Bootable Disk* is not required for virtual machines provisioned from a *PXE* source if there are no disks attached to the virtual machine. If one or more disks are attached to the virtual machine, you must select one as the *Bootable Disk*.
====

. Click *Create Virtual Machine Template >*. The *Results* screen displays the JSON configuration file for the virtual machine template.
+
The template is listed in the *Virtual Machine Templates* tab.
. Optional: Click *Advanced* to configure Cloud-init.

. Click *Review* to review and confirm your settings.

. Click *Create Virtual Machine template*.

. Click *See virtual machine template details* to view details about the virtual machine template.

The template is also listed in the *Templates* tab.
2 changes: 1 addition & 1 deletion modules/virt-creating-vm-wizard-web.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[id="virt-creating-vm-wizard-web_{context}"]
= Running the virtual machine wizard to create a virtual machine

The web console features an interactive wizard that guides you through *General*, *Networking*, *Storage*, *Advanced*, and *Review* steps to simplify the process of creating virtual machines. All required fields are marked by a `*`. When the required fields are completed, you can review and create your virtual machine.
The web console features a wizard that guides you through *General*, *Networking*, *Storage*, *Advanced*, and *Review* steps to simplify the process of creating virtual machines. All required fields are marked by a ++*++. When the required fields are completed, you can review and create your virtual machine.

Network interface cards (NICs) and storage disks can be created and attached to virtual machines after they have been created.

Expand Down
18 changes: 11 additions & 7 deletions modules/virt-deleting-template-web.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@

Deleting a virtual machine template permanently removes it from the cluster.

[NOTE]
====
You can delete virtual machine templates that were created by using a Red Hat template or the *Create Virtual Machine Template* wizard. Preconfigured virtual machine templates that are provided by Red Hat cannot be deleted.
====

.Procedure

. In the {VirtProductName} console, click *Workloads* -> *Virtualization* from the side menu.
. Click the *Virtual Machine Templates* tab.
. You can delete the virtual machine template from this pane, which makes it
easier to perform actions on multiple templates in the one pane, or from the
*Virtual Machine Template Details* pane where you can view comprehensive
details of the selected template:

. Click the *Templates* tab. Select the appropriate method to delete a virtual machine template:

** Click the Options menu {kebab} of the template to delete and select *Delete Template*.
** Click the template name to open the *Virtual Machine Template Details*
pane and click *Actions* -> *Delete Template*.

** Click the template name to open the *Virtual Machine Template Details* screen and click *Actions* -> *Delete Template*.

. In the confirmation pop-up window, click *Delete* to permanently delete the template.
2 changes: 1 addition & 1 deletion modules/virt-edit-cdrom-vm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ endif::[]

ifeval::["{context}" == "virt-editing-vm-template"]
:object: virtual machine template
:object-gui: Virtual Machine Templates
:object-gui: Templates
endif::[]

[id="virt-vm-edit-cdrom_{context}"]
Expand Down
4 changes: 2 additions & 2 deletions modules/virt-editing-template-yaml-web.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Navigating away from the YAML screen while editing cancels any changes to the
.Procedure

. In the {VirtProductName} console, click *Workloads* -> *Virtualization* from the side menu.
. Click the *Virtual Machine Templates* tab.
. Select a template.
. Click the *Templates* tab.
. Select a template to open the *Details* screen.
. Click the *YAML* tab to display the editable configuration.
. Edit the file and click *Save*.

Expand Down
19 changes: 11 additions & 8 deletions modules/virt-editing-vm-web.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,30 @@
ifeval::["{context}" == "virt-editing-vm-template"]
:virt-vm-template:
:object: virtual machine template
:object-gui: Virtual Machine Template
:object-gui: Virtual Machines
:object-vm-overview: VM Template Details
endif::[]

ifeval::["{context}" == "virt-edit-vms"]
:virt-vm:
:object: virtual machine
:object-gui: Virtual Machine
:object-gui: Virtual Machines
:object-vm-overview: Virtual Machine Overview
endif::[]

[id="virt-editing-vm-web_{context}"]

= Editing a {object} in the web console

Edit select values of a {object} in the *{object-gui} Overview* screen
of the web console by clicking on the pencil icon next to the relevant field.
Other values can be edited using the CLI.
Edit select values of a {object} that displays in the *{object-vm-overview}* screen of the web console by clicking on the pencil icon next to the relevant field. Other values can be edited using the CLI.

Labels and annotations are editable for both preconfigured Red Hat templates and your custom virtual machine templates. All other values are editable only for custom virtual machine templates that users have created using the Red Hat templates or the *Create Virtual Machine Template* wizard.

.Procedure

. Click *Workloads* -> *Virtualization* from the side menu.
. Click the *{object-gui}s* tab.
. Select a {object} to open the *{object-gui} Overview* screen.
. Click the *Details* tab.
. Click the *{object-gui}* tab.
. Select a {object} to open the *Virtual Machine Overview* screen.
. Click the pencil icon to make a field editable.
. Make the relevant changes and click *Save*.

Expand Down Expand Up @@ -64,10 +65,12 @@ ifeval::["{context}" == "virt-edit-vms"]
:virt-vm!:
:object!:
:object-gui!:
:object-vm-overview!:
endif::[]

ifeval::["{context}" == "virt-editing-vm-template"]
:virt-vm-template!:
:object!:
:object-gui!:
:object-vm-overview!:
endif::[]
8 changes: 3 additions & 5 deletions modules/virt-enabling-dedicated-resources.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,14 @@ endif::[]
[id="virt-enabling-dedicated-resources_{context}"]
= Enabling dedicated resources for a {object}

You can enable dedicated resources for a {object} in the
*{object-gui} Overview* page of the web console.
You can enable dedicated resources for a {object} in the *Details* tab. Virtual machines that were created by using a Red Hat template or the wizard can be enabled with dedicated resources.

.Procedure

. Click *Workloads* -> *{object-gui}s* from the side menu.
. Select a {object} to open the *{object-gui} Overview* page.
. Select a {object} to open the *{object-gui}* tab.
. Click the *Details* tab.
Comment thread
lmandavi marked this conversation as resolved.
Outdated
. Click the pencil icon to the right of the *Dedicated Resources* field to open
the *Dedicated Resources* window.
. Click the pencil icon to the right of the *Dedicated Resources* field to open the *Dedicated Resources* window.
. Select *Schedule this workload with dedicated resources (guaranteed policy)*.
. Click *Save*.

Expand Down
15 changes: 15 additions & 0 deletions modules/virt-filtering-vm-templates.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Module included in the following assemblies:
//
// * virt/vm_templates/virt-creating-vm-template.adoc

[id="virt-filtering-vm-templates_{context}"]
= Filtering the list of virtual machine templates by providers

In the *Templates* tab, you can use the *Search by name* field to search for virtual machine templates by specifying either the name of the template or a label that identfies the template. You can also filter templates by the provider, and display only those templates that meet your filtering criteria.

.Procedure

. In the {VirtProductName} console, click *Workloads* -> *Virtualization* from the side menu.
. Click the *Templates* tab.
. To filter templates, click *Filter*.
. Select the appropriate checkbox from the list to filter the templates: *Red Hat Supported*, *User Supported*, *Red Hat Provided*, and *User Provided*.
15 changes: 15 additions & 0 deletions modules/virt-marking-vm-templates-favorites.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Module included in the following assemblies:
//
// * virt/vm_templates/virt-creating-vm-template.adoc

[id="virt-marking-vm-templates-favorites_{context}"]
= Marking virtual machine templates as favorites

For easier access to virtual machine templates that are used frequently, you can mark those templates as favorites.

.Procedure

. In the {VirtProductName} console, click *Workloads* -> *Virtualization* from the side menu.
. Click the *Templates* tab.
. Identify the Red Hat template that you want to mark as a favorite.
. Click the Options menu {kebab} and select *Favorite template*. The template moves up higher in the list of displayed templates.
Loading