flatcar-scripts/build_library/template_vmware.ovf
Kai Lüke 6754d2d979
build_library/template_vmware.ovf: Newer OS type and hardware version
The VM hardware and OS type versions were outdated and resulted in
features not being available by default.
Choose a newer ESXi host version (requires 6.5) and set the guest
OS type to Linux 3.x 64 bit.
2020-07-09 12:19:23 +02:00

264 lines
16 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Envelope vmw:buildId="build-1474528" xmlns="http://schemas.dmtf.org/ovf/envelope/1" xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vmw="http://www.vmware.com/schema/ovf" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<References>
<File ovf:href="@@VMDK_FILE_NAME@@" ovf:id="file1" ovf:size="@@VMDK_FILE_SIZE@@"/>
</References>
<DiskSection>
<Info>Virtual disk information</Info>
<Disk ovf:capacity="@@VMDK_CAPACITY@@" ovf:capacityAllocationUnits="byte" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" ovf:populatedSize="0"/>
</DiskSection>
<NetworkSection>
<Info>The list of logical networks</Info>
<Network ovf:name="VM Network">
<Description>The VM Network network</Description>
</Network>
</NetworkSection>
<VirtualSystem ovf:id="@@NAME@@">
<Info>A virtual machine</Info>
<Name>@@NAME@@</Name>
<ProductSection ovf:required="false">
<Info>Flatcar Container Linux Virtual Appliance</Info>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.hostname" ovf:value="">
<Label>Hostname</Label>
<Description>Hostname</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.ignition.config.data" ovf:value="">
<Label>Ignition/coreos-cloudinit data</Label>
<Description>Inline Ignition config or coreos-cloudinit data (cloud-config or script)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.ignition.config.data.encoding" ovf:value="">
<Label>Ignition/coreos-cloudinit data encoding</Label>
<Description>Encoding for Ignition config or coreos-cloudinit data (e.g., base64)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.ignition.config.url" ovf:value="">
<Label>Ignition/coreos-cloudinit config url</Label>
<Description>URL to Ignition config or coreos-cloudinit data (cloud-config or script)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.dns.server.0" ovf:value="">
<Label>Primary DNS (only for coreos-cloudinit)</Label>
<Description>Primary DNS (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.dns.server.1" ovf:value="">
<Label>Secondary DNS (only for coreos-cloudinit)</Label>
<Description>Secondary DNS (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.0.name" ovf:value="">
<Label>Name for network interface 0 (only for coreos-cloudinit)</Label>
<Description>Name for network interface 0 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.0.mac" ovf:value="">
<Label>MAC for network interface 0 (only for coreos-cloudinit)</Label>
<Description>MAC for network interface 0 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.0.dhcp" ovf:value="no">
<Label>DHCP support for network interface 0 (only for coreos-cloudinit)</Label>
<Description>DHCP support for network interface 0 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.0.role" ovf:value="public">
<Label>Role for network interface 0 (only for coreos-cloudinit)</Label>
<Description>Role for network interface 0 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.0.ip.0.address" ovf:value="">
<Label>Main IP for network interface 0 (only for coreos-cloudinit)</Label>
<Description>Main IP for network interface 0 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.0.ip.1.address" ovf:value="">
<Label>Additional IP for network interface 0 (only for coreos-cloudinit)</Label>
<Description>Additional IP for network interface 0 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.0.route.0.gateway" ovf:value="">
<Label>Main route gateway for network interface 0 (only for coreos-cloudinit)</Label>
<Description>Main route gateway for network interface 0 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.0.route.0.destination" ovf:value="">
<Label>Main route destination for network interface 0 (only for coreos-cloudinit)</Label>
<Description>Main route destination for network interface 0 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.0.route.1.gateway" ovf:value="">
<Label>Additional route gateway for network interface 0 (only for coreos-cloudinit)</Label>
<Description>Additional route gateway for network interface 0 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.0.route.1.destination" ovf:value="">
<Label>Additional route destination for network interface 0 (only for coreos-cloudinit)</Label>
<Description>Additional route destination for network interface 0 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.1.name" ovf:value="">
<Label>Name for network interface 1 (only for coreos-cloudinit)</Label>
<Description>Name for network interface 1 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.1.mac" ovf:value="">
<Label>MAC for network interface 1 (only for coreos-cloudinit)</Label>
<Description>MAC for network interface 1 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.1.dhcp" ovf:value="no">
<Label>DHCP support for network interface 1 (only for coreos-cloudinit)</Label>
<Description>DHCP support for network interface 1 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.1.role" ovf:value="private">
<Label>Role for network interface 1 (only for coreos-cloudinit)</Label>
<Description>Role for network interface 1 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.1.ip.0.address" ovf:value="">
<Label>Main IP for network interface 1 (only for coreos-cloudinit)</Label>
<Description>Main IP for network interface 1 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.1.route.0.gateway" ovf:value="">
<Label>Main route gateway for network interface 1 (only for coreos-cloudinit)</Label>
<Description>Main route gateway for network interface 1 (only for coreos-cloudinit)</Description>
</Property>
<Property ovf:userConfigurable="true" ovf:type="string"
ovf:key="guestinfo.interface.1.route.0.destination" ovf:value="">
<Label>Main route destination for network interface 1 (only for coreos-cloudinit)</Label>
<Description>Main route destination for network interface 1 (only for coreos-cloudinit)</Description>
</Property>
</ProductSection>
<OperatingSystemSection ovf:id="100" vmw:osType="other3xLinux64Guest">
<Info>The kind of installed guest operating system</Info>
</OperatingSystemSection>
<VirtualHardwareSection ovf:transport="com.vmware.guestInfo">
<Info>Virtual hardware requirements</Info>
<System>
<vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
<vssd:InstanceID>0</vssd:InstanceID>
<vssd:VirtualSystemIdentifier>@@NAME@@</vssd:VirtualSystemIdentifier>
<vssd:VirtualSystemType>vmx-13</vssd:VirtualSystemType>
</System>
<Item>
<rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
<rasd:Description>Number of Virtual CPUs</rasd:Description>
<rasd:ElementName>@@NUM_CPUS@@ virtual CPU(s)</rasd:ElementName>
<rasd:InstanceID>1</rasd:InstanceID>
<rasd:ResourceType>3</rasd:ResourceType>
<rasd:VirtualQuantity>@@NUM_CPUS@@</rasd:VirtualQuantity>
</Item>
<Item>
<rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
<rasd:Description>Memory Size</rasd:Description>
<rasd:ElementName>@@MEM_SIZE@@MB of memory</rasd:ElementName>
<rasd:InstanceID>2</rasd:InstanceID>
<rasd:ResourceType>4</rasd:ResourceType>
<rasd:VirtualQuantity>@@MEM_SIZE@@</rasd:VirtualQuantity>
</Item>
<Item>
<rasd:Address>0</rasd:Address>
<rasd:Description>SCSI Controller</rasd:Description>
<rasd:ElementName>SCSI Controller 0</rasd:ElementName>
<rasd:InstanceID>3</rasd:InstanceID>
<rasd:ResourceSubType>VirtualSCSI</rasd:ResourceSubType>
<rasd:ResourceType>6</rasd:ResourceType>
</Item>
<Item>
<rasd:Address>1</rasd:Address>
<rasd:Description>IDE Controller</rasd:Description>
<rasd:ElementName>VirtualIDEController 1</rasd:ElementName>
<rasd:InstanceID>4</rasd:InstanceID>
<rasd:ResourceType>5</rasd:ResourceType>
</Item>
<Item>
<rasd:Address>0</rasd:Address>
<rasd:Description>IDE Controller</rasd:Description>
<rasd:ElementName>VirtualIDEController 0</rasd:ElementName>
<rasd:InstanceID>5</rasd:InstanceID>
<rasd:ResourceType>5</rasd:ResourceType>
</Item>
<Item ovf:required="false">
<rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
<rasd:ElementName>VirtualVideoCard</rasd:ElementName>
<rasd:InstanceID>6</rasd:InstanceID>
<rasd:ResourceType>24</rasd:ResourceType>
<vmw:Config ovf:required="false" vmw:key="enable3DSupport" vmw:value="false"/>
<vmw:Config ovf:required="false" vmw:key="enableMPTSupport" vmw:value="false"/>
<vmw:Config ovf:required="false" vmw:key="use3dRenderer" vmw:value="automatic"/>
<vmw:Config ovf:required="false" vmw:key="useAutoDetect" vmw:value="false"/>
<vmw:Config ovf:required="false" vmw:key="videoRamSizeInKB" vmw:value="4096"/>
</Item>
<Item ovf:required="false">
<rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
<rasd:ElementName>VirtualVMCIDevice</rasd:ElementName>
<rasd:InstanceID>7</rasd:InstanceID>
<rasd:ResourceSubType>vmware.vmci</rasd:ResourceSubType>
<rasd:ResourceType>1</rasd:ResourceType>
<vmw:Config ovf:required="false" vmw:key="allowUnrestrictedCommunication" vmw:value="false"/>
</Item>
<Item ovf:required="false">
<rasd:AddressOnParent>0</rasd:AddressOnParent>
<rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
<rasd:ElementName>CD-ROM 1</rasd:ElementName>
<rasd:InstanceID>8</rasd:InstanceID>
<rasd:Parent>4</rasd:Parent>
<rasd:ResourceSubType>vmware.cdrom.remotepassthrough</rasd:ResourceSubType>
<rasd:ResourceType>15</rasd:ResourceType>
<vmw:Config ovf:required="false" vmw:key="backing.exclusive" vmw:value="false"/>
</Item>
<Item>
<rasd:AddressOnParent>0</rasd:AddressOnParent>
<rasd:ElementName>Hard Disk 1</rasd:ElementName>
<rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource>
<rasd:InstanceID>9</rasd:InstanceID>
<rasd:Parent>3</rasd:Parent>
<rasd:ResourceType>17</rasd:ResourceType>
<vmw:Config ovf:required="false" vmw:key="backing.writeThrough" vmw:value="false"/>
</Item>
<Item ovf:required="false">
<rasd:AddressOnParent>0</rasd:AddressOnParent>
<rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
<rasd:Description>Floppy Drive</rasd:Description>
<rasd:ElementName>Floppy 1</rasd:ElementName>
<rasd:InstanceID>10</rasd:InstanceID>
<rasd:ResourceSubType>vmware.floppy.remotedevice</rasd:ResourceSubType>
<rasd:ResourceType>14</rasd:ResourceType>
</Item>
<Item>
<rasd:AddressOnParent>7</rasd:AddressOnParent>
<rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
<rasd:Connection>VM Network</rasd:Connection>
<rasd:Description>VmxNet3 ethernet adapter on &quot;VM Network&quot;</rasd:Description>
<rasd:ElementName>Ethernet 1</rasd:ElementName>
<rasd:InstanceID>11</rasd:InstanceID>
<rasd:ResourceSubType>VmxNet3</rasd:ResourceSubType>
<rasd:ResourceType>10</rasd:ResourceType>
<vmw:Config ovf:required="false" vmw:key="wakeOnLanEnabled" vmw:value="true"/>
</Item>
<vmw:Config ovf:required="false" vmw:key="cpuHotAddEnabled" vmw:value="true"/>
<vmw:Config ovf:required="false" vmw:key="cpuHotRemoveEnabled" vmw:value="true"/>
<vmw:Config ovf:required="false" vmw:key="firmware" vmw:value="bios"/>
<vmw:Config ovf:required="false" vmw:key="virtualICH7MPresent" vmw:value="false"/>
<vmw:Config ovf:required="false" vmw:key="virtualSMCPresent" vmw:value="false"/>
<vmw:Config ovf:required="false" vmw:key="memoryHotAddEnabled" vmw:value="true"/>
<vmw:Config ovf:required="false" vmw:key="nestedHVEnabled" vmw:value="false"/>
<vmw:Config ovf:required="false" vmw:key="powerOpInfo.powerOffType" vmw:value="preset"/>
<vmw:Config ovf:required="false" vmw:key="powerOpInfo.resetType" vmw:value="preset"/>
<vmw:Config ovf:required="false" vmw:key="powerOpInfo.standbyAction" vmw:value="checkpoint"/>
<vmw:Config ovf:required="false" vmw:key="powerOpInfo.suspendType" vmw:value="preset"/>
<vmw:Config ovf:required="false" vmw:key="tools.afterPowerOn" vmw:value="true"/>
<vmw:Config ovf:required="false" vmw:key="tools.afterResume" vmw:value="true"/>
<vmw:Config ovf:required="false" vmw:key="tools.beforeGuestShutdown" vmw:value="true"/>
<vmw:Config ovf:required="false" vmw:key="tools.beforeGuestStandby" vmw:value="true"/>
<vmw:Config ovf:required="false" vmw:key="tools.syncTimeWithHost" vmw:value="false"/>
<vmw:Config ovf:required="false" vmw:key="tools.toolsUpgradePolicy" vmw:value="manual"/>
</VirtualHardwareSection>
</VirtualSystem>
</Envelope>