Skip to content

Commit 31532f3

Browse files
authored
Merge pull request #78523 from aspauldi/CNV-37544
CNV#37544: Doc selecting unattend.xml in the UI when creating a VM
2 parents 6063bfb + f3679d9 commit 31532f3

File tree

1 file changed

+33
-7
lines changed

1 file changed

+33
-7
lines changed

modules/virt-creating-vm-instancetype.adoc

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ endif::[]
2222

2323
ifdef::virt-create-vms[]
2424
You can create a virtual machine (VM) from an instance type by using the {product-title} web console. You can also use the web console to create a VM by copying an existing snapshot or to clone a VM.
25+
26+
You can create a VM from a list of available bootable volumes. You can add Linux- or Windows-based volumes to the list.
2527
endif::[]
28+
2629
ifdef::static-key[]
2730
You can add a statically managed SSH key when you create a virtual machine (VM) from an instance type by using the {product-title} web console. The key is added to the VM as a cloud-init data source at first boot. This method does not affect cloud-init user data.
2831
endif::[]
@@ -42,6 +45,7 @@ endif::[]
4245
. In the web console, navigate to *Virtualization* -> *Catalog*.
4346
+
4447
The *InstanceTypes* tab opens by default.
48+
4549
. Select either of the following options:
4650
* Select a suitable bootable volume from the list. If the list is truncated, click the *Show all* button to display the entire list.
4751
+
@@ -58,23 +62,45 @@ Logos of operating systems that are not available in the cluster are shown at th
5862
+
5963
In addition, there is a link to the *Create a Windows boot source* quick start. The same link appears in a popover if you hover the pointer over the question mark icon next to the _Select volume to boot from_ line.
6064
+
61-
Immediately after you install the environment or when the environment is disconnected, the list of volumes to boot from is empty. In that case, three operating system logos are displayed: Windows, {op-system-base}, and Linux. You can add a new volume that meets you requirements by clicking the *Add volume* button.
65+
Immediately after you install the environment or when the environment is disconnected, the list of volumes to boot from is empty. In that case, three operating system logos are displayed: Windows, {op-system-base}, and Linux. You can add a new volume that meets your requirements by clicking the *Add volume* button.
6266
6367
ifdef::virt-create-vms[]
6468
. Click an instance type tile and select the resource size appropriate for your workload.
6569
endif::[]
6670
ifdef::dynamic-key[]
6771
. Click the *Red Hat Enterprise Linux 9 VM* tile.
6872
endif::[]
69-
. If you have not already added a public SSH key to your project, click the edit icon beside *Authorized SSH key* in the *VirtualMachine details* section.
70-
. Select one of the following options:
73+
ifdef::virt-create-vms[]
74+
. Optional: Choose the virtual machine details, including the VM's name, that apply to the volume you are booting from:
75+
endif::[]
76+
ifdef::virt-create-vms[]
77+
** For a Linux-based volume, follow these steps to configure SSH:
78+
endif::[]
7179

80+
.. If you have not already added a public SSH key to your project, click the edit icon beside *Authorized SSH key* in the *VirtualMachine details* section.
81+
.. Select one of the following options:
82+
+
83+
--
7284
* *Use existing*: Select a secret from the secrets list.
73-
* *Add new*:
74-
.. Browse to the public SSH key file or paste the file in the key field.
75-
.. Enter the secret name.
76-
.. Optional: Select *Automatically apply this key to any new VirtualMachine you create in this project*.
85+
* *Add new*: Follow these steps:
86+
... Browse to the public SSH key file or paste the file in the key field.
87+
... Enter the secret name.
88+
... Optional: Select *Automatically apply this key to any new VirtualMachine you create in this project*.
89+
--
7790
.. Click *Save*.
91+
92+
ifdef::virt-create-vms[]
93+
** For a Windows volume, follow either of these set of steps to configure sysprep options:
94+
*** If you have not already added sysprep options for the Windows volume, follow these steps:
95+
... Click the edit icon beside *Sysprep* in the *VirtualMachine details* section.
96+
... Add the *Autoattend.xml* answer file.
97+
... Add the *Unattend.xml* answer file.
98+
... Click *Save*.
99+
*** If you want to use existing sysprep options for the Windows volume, follow these steps:
100+
... Click *Attach existing sysprep*.
101+
... Enter the name of the existing sysprep *Unattend.xml* answer file.
102+
... Click *Save*.
103+
endif::[]
78104
ifdef::dynamic-key[]
79105
. Set *Dynamic SSH key injection* in the *VirtualMachine details* section to on.
80106
endif::[]

0 commit comments

Comments
 (0)