Skip to content

Instantly share code, notes, and snippets.

@jstoja
Created August 9, 2018 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jstoja/544aac68ab2e8f142ad94ab9985aac5d to your computer and use it in GitHub Desktop.
Save jstoja/544aac68ab2e8f142ad94ab9985aac5d to your computer and use it in GitHub Desktop.
vmware ubuntu 18.04 ovf template
<ns0:Envelope xmlns:ns0="http://schemas.dmtf.org/ovf/envelope/1" xmlns:ns1="http://www.virtualbox.org/ovf/machine" xmlns:ns2="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:ns3="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" ns0:version="1.0" xml:lang="en-US">
<ns0:References>
<ns0:File ns0:href="packer-ubuntu-18.04-amd64-disk001.vmdk" ns0:id="file1" />
</ns0:References>
<ns0:DiskSection>
<ns0:Info>List of the virtual disks used in the package</ns0:Info>
<ns0:Disk ns0:capacity="85899345920" ns0:diskId="vmdisk1" ns0:fileRef="file1" ns0:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" ns1:uuid="ac0b206d-310d-4660-ad25-0aee7a4cdcf4" />
</ns0:DiskSection>
<ns0:NetworkSection>
<ns0:Info>Logical networks used in the package</ns0:Info>
<ns0:Network ns0:name="VM Network">
<ns0:Description>Logical network used by this appliance.</ns0:Description>
</ns0:Network>
</ns0:NetworkSection>
<ns0:VirtualSystem ns0:id="packer-ubuntu-18.04-amd64">
<ns0:Info>A virtual machine</ns0:Info>
<ns0:OperatingSystemSection ns0:id="94">
<ns0:Info>The kind of installed guest operating system</ns0:Info>
<ns0:Description>Ubuntu_64</ns0:Description>
<ns1:OSType ns0:required="false">Ubuntu_64</ns1:OSType>
</ns0:OperatingSystemSection>
<ns0:VirtualHardwareSection>
<ns0:Info>Virtual hardware requirements for a virtual machine</ns0:Info>
<ns0:System>
<ns2:ElementName>Virtual Hardware Family</ns2:ElementName>
<ns2:InstanceID>0</ns2:InstanceID>
<ns2:VirtualSystemIdentifier>packer-ubuntu-18.04-amd64</ns2:VirtualSystemIdentifier>
<ns2:VirtualSystemType>vmx-07</ns2:VirtualSystemType>
</ns0:System>
<ns0:Item>
<ns3:Caption>1 virtual CPU</ns3:Caption>
<ns3:Description>Number of virtual CPUs</ns3:Description>
<ns3:ElementName>1 virtual CPU</ns3:ElementName>
<ns3:InstanceID>1</ns3:InstanceID>
<ns3:ResourceType>3</ns3:ResourceType>
<ns3:VirtualQuantity>1</ns3:VirtualQuantity>
</ns0:Item>
<ns0:Item>
<ns3:AllocationUnits>MegaBytes</ns3:AllocationUnits>
<ns3:Caption>1024 MB of memory</ns3:Caption>
<ns3:Description>Memory Size</ns3:Description>
<ns3:ElementName>1024 MB of memory</ns3:ElementName>
<ns3:InstanceID>2</ns3:InstanceID>
<ns3:ResourceType>4</ns3:ResourceType>
<ns3:VirtualQuantity>1024</ns3:VirtualQuantity>
</ns0:Item>
<ns0:Item>
<ns3:Address>0</ns3:Address>
<ns3:Caption>ideController0</ns3:Caption>
<ns3:Description>IDE Controller</ns3:Description>
<ns3:ElementName>ideController0</ns3:ElementName>
<ns3:InstanceID>3</ns3:InstanceID>
<ns3:ResourceSubType>PIIX4</ns3:ResourceSubType>
<ns3:ResourceType>5</ns3:ResourceType>
</ns0:Item>
<ns0:Item>
<ns3:Address>1</ns3:Address>
<ns3:Caption>ideController1</ns3:Caption>
<ns3:Description>IDE Controller</ns3:Description>
<ns3:ElementName>ideController1</ns3:ElementName>
<ns3:InstanceID>4</ns3:InstanceID>
<ns3:ResourceSubType>PIIX4</ns3:ResourceSubType>
<ns3:ResourceType>5</ns3:ResourceType>
</ns0:Item>
<ns0:Item>
<ns3:AddressOnParent>0</ns3:AddressOnParent>
<ns3:Caption>disk1</ns3:Caption>
<ns3:Description>Disk Image</ns3:Description>
<ns3:ElementName>disk1</ns3:ElementName>
<ns3:HostResource>/disk/vmdisk1</ns3:HostResource>
<ns3:InstanceID>5</ns3:InstanceID>
<ns3:Parent>3</ns3:Parent>
<ns3:ResourceType>17</ns3:ResourceType>
</ns0:Item>
<ns0:Item>
<ns3:AutomaticAllocation>true</ns3:AutomaticAllocation>
<ns3:Caption>Ethernet adapter on 'NAT'</ns3:Caption>
<ns3:Connection>VM Network</ns3:Connection>
<ns3:ElementName>Ethernet adapter on 'NAT'</ns3:ElementName>
<ns3:InstanceID>6</ns3:InstanceID>
<ns3:ResourceSubType>E1000</ns3:ResourceSubType>
<ns3:ResourceType>10</ns3:ResourceType>
</ns0:Item>
</ns0:VirtualHardwareSection>
<ns1:Machine OSType="Ubuntu_64" lastStateChange="2018-08-09T10:59:11Z" name="packer-ubuntu-18.04-amd64" snapshotFolder="Snapshots" uuid="{89b12470-c549-449d-8121-ce7625870b4b}" version="1.16-linux" ns0:required="false">
<ns0:Info>Complete VirtualBox machine configuration in VirtualBox format</ns0:Info>
<ns0:ExtraData>
<ns0:ExtraDataItem name="GUI/LastNormalWindowPosition" value="1922,36,1916,1023" />
</ns0:ExtraData>
<ns0:Hardware>
<ns0:CPU>
<ns0:PAE enabled="true" />
<ns0:LongMode enabled="true" />
<ns0:X2APIC enabled="true" />
<ns0:HardwareVirtExLargePages enabled="false" />
</ns0:CPU>
<ns0:Memory RAMSize="1024" />
<ns0:Boot>
<ns0:Order device="HardDisk" position="1" />
<ns0:Order device="DVD" position="2" />
<ns0:Order device="None" position="3" />
<ns0:Order device="None" position="4" />
</ns0:Boot>
<ns0:Display VRAMSize="12" />
<ns0:RemoteDisplay enabled="true">
<ns0:VRDEProperties>
<ns0:Property name="TCP/Address" value="127.0.0.1" />
<ns0:Property name="TCP/Ports" value="5973" />
</ns0:VRDEProperties>
</ns0:RemoteDisplay>
<ns0:BIOS>
<ns0:IOAPIC enabled="true" />
</ns0:BIOS>
<ns0:Network>
<ns0:Adapter MACAddress="080027082B08" enabled="true" slot="0" type="82540EM">
<ns0:NAT />
</ns0:Adapter>
</ns0:Network>
<ns0:AudioAdapter driver="Pulse" enabledIn="false" enabledOut="false" />
<ns0:GuestProperties>
<ns0:GuestProperty flags="" name="/VirtualBox/HostInfo/GUI/LanguageID" timestamp="1533812351538348000" value="C" />
</ns0:GuestProperties>
</ns0:Hardware>
<ns0:StorageControllers>
<ns0:StorageController Bootable="true" PortCount="2" name="IDE Controller" type="PIIX4" useHostIOCache="true">
<ns0:AttachedDevice device="0" hotpluggable="false" port="0" type="HardDisk">
<ns0:Image uuid="{ac0b206d-310d-4660-ad25-0aee7a4cdcf4}" />
</ns0:AttachedDevice>
</ns0:StorageController>
</ns0:StorageControllers>
</ns1:Machine>
</ns0:VirtualSystem>
</ns0:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment