mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
Merge pull request #343 from vmware/vmx-devices
use devices vmxnet3 and pvscsi
This commit is contained in:
commit
95c45cbc1e
@ -617,6 +617,7 @@ cleanShutdown = "TRUE"
|
|||||||
displayName = "${VM_NAME}"
|
displayName = "${VM_NAME}"
|
||||||
ethernet0.addressType = "generated"
|
ethernet0.addressType = "generated"
|
||||||
ethernet0.present = "TRUE"
|
ethernet0.present = "TRUE"
|
||||||
|
ethernet0.virtualDev = "vmxnet3"
|
||||||
floppy0.present = "FALSE"
|
floppy0.present = "FALSE"
|
||||||
guestOS = "other26xlinux-64"
|
guestOS = "other26xlinux-64"
|
||||||
memsize = "${vm_mem}"
|
memsize = "${vm_mem}"
|
||||||
@ -625,13 +626,26 @@ powerType.powerOn = "hard"
|
|||||||
powerType.reset = "hard"
|
powerType.reset = "hard"
|
||||||
powerType.suspend = "hard"
|
powerType.suspend = "hard"
|
||||||
scsi0.present = "TRUE"
|
scsi0.present = "TRUE"
|
||||||
scsi0.virtualDev = "lsilogic"
|
scsi0.virtualDev = "pvscsi"
|
||||||
scsi0:0.fileName = "${dst_name}"
|
scsi0:0.fileName = "${dst_name}"
|
||||||
scsi0:0.present = "TRUE"
|
scsi0:0.present = "TRUE"
|
||||||
sound.present = "FALSE"
|
sound.present = "FALSE"
|
||||||
usb.generic.autoconnect = "FALSE"
|
usb.generic.autoconnect = "FALSE"
|
||||||
usb.present = "TRUE"
|
usb.present = "TRUE"
|
||||||
rtc.diffFromUTC = 0
|
rtc.diffFromUTC = 0
|
||||||
|
pciBridge0.present = "TRUE"
|
||||||
|
pciBridge4.present = "TRUE"
|
||||||
|
pciBridge4.virtualDev = "pcieRootPort"
|
||||||
|
pciBridge4.functions = "8"
|
||||||
|
pciBridge5.present = "TRUE"
|
||||||
|
pciBridge5.virtualDev = "pcieRootPort"
|
||||||
|
pciBridge5.functions = "8"
|
||||||
|
pciBridge6.present = "TRUE"
|
||||||
|
pciBridge6.virtualDev = "pcieRootPort"
|
||||||
|
pciBridge6.functions = "8"
|
||||||
|
pciBridge7.present = "TRUE"
|
||||||
|
pciBridge7.virtualDev = "pcieRootPort"
|
||||||
|
pciBridge7.functions = "8"
|
||||||
EOF
|
EOF
|
||||||
# Only upload the vmx if it won't be bundled
|
# Only upload the vmx if it won't be bundled
|
||||||
if [[ -z "$(_get_vm_opt BUNDLE_FORMAT)" ]]; then
|
if [[ -z "$(_get_vm_opt BUNDLE_FORMAT)" ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user