Recently, I encountered this issue when trying to import an OVA made with VirtualBox into VMWare/ESXi.
I was able to execute the first part of the solution using:
cot edit-hardware nixos-20.09pre-git-x86_64-linux.ova -v vmx-14 -o nixos.ova.
However, it doesn't seem like there are any options to edit hardware devices outside CPU, network devices, memory, etc.
Editing aside, perhaps we could start by allowing users to remove devices in order to help resolve some compatibility issues like the one mentioned above.
In this case, for example, I believe all I would need to do is remove all devices with a DeviceType of 35.
Recently, I encountered this issue when trying to import an OVA made with VirtualBox into VMWare/ESXi.
I was able to execute the first part of the solution using:
cot edit-hardware nixos-20.09pre-git-x86_64-linux.ova -v vmx-14 -o nixos.ova.However, it doesn't seem like there are any options to edit hardware devices outside CPU, network devices, memory, etc.
Editing aside, perhaps we could start by allowing users to remove devices in order to help resolve some compatibility issues like the one mentioned above.
In this case, for example, I believe all I would need to do is remove all devices with a DeviceType of 35.