Skip to content

Commit 2402809

Browse files
committed
after QE II
1 parent 660da3f commit 2402809

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

documentation/modules/creating-plan-wizard-vmware.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Variable names cannot exceed 63 characters.
259259

260260
*** Click the *Edit* icon.
261261
*** Click *Enter custom naming template*.
262-
*** Enter the template according to the instructions. Be sure that your template does not generate VM names that include uppercase letters.
262+
*** Enter the template according to the instructions. Be sure that your template generates VM names that follow RFC 1123, but do not include uppercase letters.
263263
*** Click *Save*.
264264

265265
** To specify a PVC name template only for specific VMs, do the following:
@@ -268,7 +268,7 @@ Variable names cannot exceed 63 characters.
268268
*** Select the desired VMs.
269269
*** Click the {kebab} of the VM.
270270
*** Select *Edit PVC name template*.
271-
*** Enter the template according to the instructions. Be sure that your template does not generate VM names that include uppercase letters.
271+
*** Enter the template according to the instructions. Be sure that your template generates VM names that follow RFC 1123, but do not include uppercase letters.
272272
*** Click *Save*.
273273
+
274274
[IMPORTANT]
@@ -296,7 +296,7 @@ Variable names cannot exceed 63 characters.
296296

297297
*** Click the *Edit* icon.
298298
*** Click *Enter custom naming template*.
299-
*** Enter the template according to the instructions. Be sure that your template does not generate VM names that include uppercase letters.
299+
*** Enter the template according to the instructions. Be sure that your template generates VM names that follow RFC 1123, but do not include uppercase letters.
300300
*** Click *Save*.
301301

302302
** To specify a different network name template only for specific VMs, do the following:
@@ -305,7 +305,7 @@ Variable names cannot exceed 63 characters.
305305
*** Select the desired VMs.
306306
*** Click the {kebab} of the VM.
307307
*** Select *Edit Network name template*.
308-
*** Enter the template according to the instructions. Be sure that your template does not generate VM names that include uppercase letters.
308+
*** Enter the template according to the instructions. Be sure that your template generates VM names that follow RFC 1123, but do not include uppercase letters.
309309
*** Click *Save*.
310310
+
311311
[IMPORTANT]
@@ -315,7 +315,7 @@ Changes you make on the *Virtual Machines* tab override any changes on the *Plan
315315
+
316316
[IMPORTANT]
317317
====
318-
{project-short} does not validate VM names generated by the templates you enter on the *Plan details* page. Migrations that include VMs whose names include uppercase letters fail automatically. To avoid failures, you might want to run a Go script that uses the `sprig` methods that {project-short} supports. For tables documenting the methods that {project-short} supports, see {mtv-mig}assembly_migrating-from-vmware#mtv-template-utility_vmware[{project-short} template utility for {vmw} VM names].
318+
{project-short} does not validate VM names generated by the templates you enter on the *Plan details* page. Migrations that include VMs whose names include uppercase letters or that violate RFC 1123 rules fail automatically. To avoid failures, you might want to run a Go script that uses the `sprig` methods that {project-short} supports. For tables documenting the methods that {project-short} supports, see {mtv-mig}assembly_migrating-from-vmware#mtv-template-utility_vmware[{project-short} template utility for {vmw} VM names].
319319
====
320320

321321
.. *Raw copy mode*: By default, during migration, virtual machines (VMs) are converted using a tool named `virt-v2v` that makes them compatible with {virt}. For more information about the virt-v2v conversion process, see 'How {project-short} uses the virt-v2v tool' in _Migrating your virtual machines to Red Hat {virt}_. _Raw copy mode_ copies VMs without converting them. This allows for faster conversions, migrating VMs running a wider range of operating systems, and supporting migrating disks encrypted using Linux Unified Key Setup (LUKS) without needing keys. However, VMs migrated using raw copy mode might not function properly on {virt}.

documentation/modules/proc_migrating-virtual-machines-cli.adoc

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,13 @@ The template follows the Go template syntax and has access to the following vari
879879
* `"net-{{.NetworkIndex}}"`
880880
* `{{if eq .NetworkType "pod"}}pod{{else}}multus-{{.NetworkIndex}}{{end}}"`
881881
+
882-
Variable names cannot exceed 63 characters. This rule applies to a network name network template, a PVC name template, a VM name template, and a volume name template.
882+
Variable names cannot exceed 63 characters. VM names geneated by templates must not include uppercase letters or violate RFC 1123 rules. These rules apply to a network name network template, a PVC name template, a VM name template, and a volume name template.
883+
+
884+
[IMPORTANT]
885+
====
886+
{project-short} does not validate VM names generated by the templates described here. Migrations that include VMs whose names include uppercase letters or that violate RFC 1123 rules fail automatically. To avoid failures, you might want to run a Go script that uses the `sprig` methods that {project-short} supports. For tables documenting the methods that {project-short} supports, see xref:mtv-template-utility_vmware[{project-short} template utility for {vmw} VM names].
887+
====
888+
+
883889
<10> [[callout10]]Optional. Specify a template for the persistent volume claim (PVC) name for a plan.
884890
The template follows the Go template syntax and has access to the following variables:
885891
* `.VmName`: Name of the VM.
@@ -933,11 +939,7 @@ The template follows the Go template syntax and has access to the following vari
933939
<26> Allowed values are `PreHook` before the migration plan starts or `PostHook` after the migration is complete.
934940
+
935941
include::snip_vmware-name-change.adoc[]
936-
+
937-
[IMPORTANT]
938-
====
939-
{project-short} does not validate VM names generated by the templates described here. Migrations that include VMs whose names include uppercase letters fail automatically. To avoid failures, you might want to run a Go script that uses the `sprig` methods that {project-short} supports. For tables documenting the methods that {project-short} supports, see xref:mtv-template-utility_vmware[{project-short} template utility for {vmw} VM names].
940-
====
942+
941943
endif::[]
942944

943945
ifdef::rhv[]

0 commit comments

Comments
 (0)