Documentation ¶
Overview ¶
Package vmwareify provides functionality for converting non-VMWare .ovf files (i.e., files generated by VirtualBox) to VMWare-compatible .ovf files.
Index ¶
- func BasicConvert(ovfFilePath string, newFilePath string) error
- func ConvertSataControllersFunc() ovf.EditObjectFunc
- func DisableCdromAutomaticAllocationFunc() ovf.EditObjectFunc
- func RemoveIdeControllersFunc(limit int) ovf.EditObjectFunc
- func SetVirtualSystemTypeFunc(systemType string) ovf.EditObjectFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicConvert ¶
BasicConvert converts a non-VMWare .ovf file to a VMWare friendly .ovf file. It does the following:
- Removes any IDE controllers
- Converts any existing SATA controllers to the VMWare kind
- Set the VMWare compatibility level to vmx-10
- Disables automatic allocation of CD/DVD drives
func ConvertSataControllersFunc ¶
func ConvertSataControllersFunc() ovf.EditObjectFunc
ConvertSataControllersFunc returns an ovf.EditObjectFunc that will convert an existing SATA controller to a VMWare friendly SATA controller.
func DisableCdromAutomaticAllocationFunc ¶ added in v0.1.0
func DisableCdromAutomaticAllocationFunc() ovf.EditObjectFunc
DisableCdromAutomaticAllocationFunc returns an ovf.EditObjectFunc that will disable AutomaticAllocation for OVF ResourceType 15 devices.
func RemoveIdeControllersFunc ¶
func RemoveIdeControllersFunc(limit int) ovf.EditObjectFunc
RemoveIdeControllersFunc returns an ovf.EditObjectFunc that will remove the specified number of IDE controllers.
func SetVirtualSystemTypeFunc ¶
func SetVirtualSystemTypeFunc(systemType string) ovf.EditObjectFunc
SetVirtualSystemTypeFunc returns an ovf.EditObjectFunc that will set the .ovf's VirtualSystemType to the specified value.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
internal
|
|
xmlutil
Package xmlutil provides helpful XML function extensions.
|
Package xmlutil provides helpful XML function extensions. |
Package ovf provides extremely basic functionality for parsing and modifying .ovf files.
|
Package ovf provides extremely basic functionality for parsing and modifying .ovf files. |