mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
46 lines
2.5 KiB
Plaintext
46 lines
2.5 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
|
|
:_mod-docs-content-type: REFERENCE
|
|
[id="virt-template-fields-for-boot-source_{context}"]
|
|
= Virtual machine template fields for adding a boot source
|
|
|
|
The following table describes the fields for *Add boot source to template* window. This window displays when you click *Add source* for a virtual machine template on the *Virtualization* -> *Templates* page.
|
|
|
|
[cols="2a,3a,5a"]
|
|
|===
|
|
|Name | Parameter | Description
|
|
|
|
.4+|Boot source type
|
|
|Upload local file (creates PVC)
|
|
|Upload a file from your local device. Supported file types include gz, xz, tar, and qcow2.
|
|
|
|
|URL (creates PVC)
|
|
|Import content from an image available from an HTTP or HTTPS endpoint. Obtain the download link URL from the web page where the image download is available and enter that URL link in the *Import URL* field. Example: For a Red Hat Enterprise Linux image, log on to the Red Hat Customer Portal, access the image download page, and copy the download link URL for the KVM guest image.
|
|
|
|
|PVC (creates PVC)
|
|
|Use a PVC that is already available in the cluster and clone it.
|
|
|
|
|Registry (creates PVC)
|
|
|Specify the bootable operating system container that is located in a registry and accessible from the cluster. Example: kubevirt/cirros-registry-dis-demo.
|
|
|
|
|Source provider
|
|
|
|
|
|Optional field. Add descriptive text about the source for the template or the name of the user who created the template. Example: Red Hat.
|
|
|
|
.3+|Advanced Storage settings
|
|
|StorageClass
|
|
|The storage class that is used to create the disk.
|
|
|
|
|Access mode
|
|
|Access mode of the persistent volume. Supported access modes are *Single User (RWO)*, *Shared Access (RWX)*, *Read Only (ROX)*. If *Single User (RWO)* is selected, the disk can be mounted as read/write by a single node. If *Shared Access (RWX)* is selected, the disk can be mounted as read-write by many nodes. The `kubevirt-storage-class-defaults` config map provides access mode defaults for data volumes. The default value is set according to the best option for each storage class in the cluster.
|
|
|
|
[NOTE]
|
|
====
|
|
Shared Access (RWX) is required for some features, such as live migration of virtual machines between nodes.
|
|
====
|
|
|
|
|Volume mode
|
|
|Defines whether the persistent volume uses a formatted file system or raw block state. Supported modes are *Block* and *Filesystem*. The `kubevirt-storage-class-defaults` config map provides volume mode defaults for data volumes. The default value is set according to the best option for each storage class in the cluster.
|
|
|===
|