Skip to content

docs: Specify disk bus type via defaultDiskBusType field in VirtualMachineImport #792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
8 changes: 8 additions & 0 deletions docs/advanced/addons/vmimport.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ spec:
destinationNetwork: "default/vlan2"
skipPreflightChecks: false
storageClass: "my-storage-class"
defaultDiskBusType: "scsi"
sourceCluster:
name: vcsim
namespace: default
Expand All @@ -157,6 +158,13 @@ If a match is not found, each unmatched network interface is attached to the def

The `storageClass` field specifies the [StorageClass](../storageclass.md) to be used for images and provisioning persistent volumes during the import process. If not specified, the default StorageClass will be used.

The `defaultDiskBusType` field allows you to specify the bus type for imported disks. Harvester uses this field in the following ways:

- VMware sources: The value is used only if Harvester is unable to automatically detect the bus type.
- OpenStack sources: The value is used for all imported disks.

The valid values are `sata`, `scsi`, `usb`, and `virtio`. If you do not specify a value, `virtio` is used by default.

Once the virtual machine has been imported successfully, the object will reflect the status:

```shell
Expand Down