adamant-kite-43734
03/20/2024, 3:28 PMshy-artist-94999
03/20/2024, 9:12 PMTerraform
# Configure VM with disabled DirectPath I/O and no user-data.iso mounting
resource "vmware_virtual_machine" "rke2_vm" {
name = "rke2-node"
folder = "/Datacenters/DC1/vm"
resource_pool = var.vm_resource_pool
# ... other VM configuration options ...
# Disable DirectPath I/O
guest_customization {
delay_script_execution = true # Optional: Wait for customization before powering on
identity_change {
# ... other identity settings ...
}
hardware {
# Disable DirectPath I/O
direct_path_io = false
}
# No user-data.iso mounting (omit iso_file argument)
}
}
sparse-ghost-91718
03/20/2024, 9:14 PMsparse-ghost-91718
03/20/2024, 9:19 PM