Skip to content

Commit 0be3512

Browse files
committed
Add documentation for the skipPreflightChecks field in VirtualMachineImport
Related to: harvester/harvester#7774 Replaces: harvester#805 Signed-off-by: Volker Theile <[email protected]>
1 parent 05dee61 commit 0be3512

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/advanced/addons/vmimport.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ spec:
134134
destinationNetwork: "default/vlan1"
135135
- sourceNetwork: "dvSwitch 2"
136136
destinationNetwork: "default/vlan2"
137+
skipPreflightChecks: false
137138
storageClass: "my-storage-class"
138139
sourceCluster:
139140
name: vcsim
@@ -144,7 +145,9 @@ spec:
144145

145146
This will trigger the controller to export the VM named "alpine-export-test" on the VMware source cluster to be exported, processed and recreated into the Harvester cluster.
146147

147-
This can take a while based on the size of the virtual machine, but users should see `VirtualMachineImages` created for each disk in the defined virtual machine.
148+
The controller checks the configuration before starting the import process, and cancels the import when it detects errors such as unknown [StorageClasses](../storageclass.md) or networks. These checks are enabled by default, but can be disabled by setting `skipPreflightChecks` to `true`.
149+
150+
The duration of the import process depends on the size of the virtual machine. While the import process may take some time, you should see `VirtualMachineImages` created for each disk in the defined virtual machine.
148151

149152
If the source virtual machine is placed in a folder, you can specify the folder name in the optional `folder` field.
150153

0 commit comments

Comments
 (0)