<?xml version="1.0" encoding="UTF-8"?>
<ovf:VirtualSystem ovf:id="Ubuntu1004"
    xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:vcloud="http://www.vmware.com/vcloud/v1"
    xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData"
    xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2.22.0/CIM_VirtualSystemSettingData.xsd http://schemas.dmtf.org/ovf/envelope/1 http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.0.xsd http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2.22.0/CIM_ResourceAllocationSettingData.xsd http://www.vmware.com/vcloud/v1 http://vcenterprise.bluelock.com/api/v1.0/schema/master.xsd">
    <ovf:Info>A virtual machine:</ovf:Info>
    <ovf:Name>Ubuntu1004</ovf:Name>
    <ovf:OperatingSystemSection xmlns:vmw="http://www.vmware.com/schema/ovf"
        ovf:id="94" vmw:osType="ubuntu64Guest">
        <ovf:Info>Specifies the operating system installed</ovf:Info>
        <ovf:Description>Ubuntu Linux (64-bit)</ovf:Description>
    </ovf:OperatingSystemSection>
    <ovf:VirtualHardwareSection>
        <ovf:Info>Virtual hardware requirements</ovf:Info>
        <ovf:System>
            <vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
            <vssd:InstanceID>0</vssd:InstanceID>
            <vssd:VirtualSystemIdentifier>Ubuntu1004</vssd:VirtualSystemIdentifier>
            <vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType>
        </ovf:System>
        <ovf:Item>
            <rasd:Address>00:50:56:8c:00:13</rasd:Address>
            <rasd:AddressOnParent>0</rasd:AddressOnParent>
            <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
            <rasd:Connection vcloud:ipAddress="192.168.2.100"
                vcloud:primaryNetworkConnection="true"
                vcloud:ipAddressingMode="POOL">vAppNet-vApp Internal</rasd:Connection>
            <rasd:Description>PCNet32 ethernet adapter</rasd:Description>
            <rasd:ElementName>Network adapter 0</rasd:ElementName>
            <rasd:InstanceID>1</rasd:InstanceID>
            <rasd:ResourceSubType>PCNet32</rasd:ResourceSubType>
            <rasd:ResourceType>10</rasd:ResourceType>
        </ovf:Item>
        <ovf:Item>
            <rasd:Address>0</rasd:Address>
            <rasd:Description>SCSI Controller</rasd:Description>
            <rasd:ElementName>SCSI Controller 0</rasd:ElementName>
            <rasd:InstanceID>2</rasd:InstanceID>
            <rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
            <rasd:ResourceType>6</rasd:ResourceType>
        </ovf:Item>
        <ovf:Item>
            <rasd:AddressOnParent>0</rasd:AddressOnParent>
            <rasd:Description>Hard disk</rasd:Description>
            <rasd:ElementName>Hard disk 1</rasd:ElementName>
            <rasd:HostResource vcloud:capacity="30720"
                vcloud:busType="6" vcloud:busSubType="lsilogic" />
            <rasd:InstanceID>2000</rasd:InstanceID>
            <rasd:Parent>2</rasd:Parent>
            <rasd:ResourceType>17</rasd:ResourceType>
        </ovf:Item>
        <ovf:Item>
            <rasd:Address>0</rasd:Address>
            <rasd:Description>IDE Controller</rasd:Description>
            <rasd:ElementName>IDE Controller 0</rasd:ElementName>
            <rasd:InstanceID>3</rasd:InstanceID>
            <rasd:ResourceType>5</rasd:ResourceType>
        </ovf:Item>
        <ovf:Item>
            <rasd:AddressOnParent>0</rasd:AddressOnParent>
            <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
            <rasd:Description>CD/DVD Drive</rasd:Description>
            <rasd:ElementName>CD/DVD Drive 1</rasd:ElementName>
            <rasd:HostResource />
            <rasd:InstanceID>3002</rasd:InstanceID>
            <rasd:Parent>3</rasd:Parent>
            <rasd:ResourceType>15</rasd:ResourceType>
        </ovf:Item>
        <ovf:Item>
            <rasd:AddressOnParent>0</rasd:AddressOnParent>
            <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
            <rasd:Description>Floppy Drive</rasd:Description>
            <rasd:ElementName>Floppy Drive 1</rasd:ElementName>
            <rasd:HostResource />
            <rasd:InstanceID>8000</rasd:InstanceID>
            <rasd:ResourceType>14</rasd:ResourceType>
        </ovf:Item>
        <ovf:Item>
            <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
            <rasd:Description>Number of Virtual CPUs</rasd:Description>
            <rasd:ElementName>1 virtual CPU(s)</rasd:ElementName>
            <rasd:InstanceID>4</rasd:InstanceID>
            <rasd:Reservation>0</rasd:Reservation>
            <rasd:ResourceType>3</rasd:ResourceType>
            <rasd:VirtualQuantity>1</rasd:VirtualQuantity>
            <rasd:Weight>0</rasd:Weight>
        </ovf:Item>
        <ovf:Item>
            <rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
            <rasd:Description>Memory Size</rasd:Description>
            <rasd:ElementName>512 MB of memory</rasd:ElementName>
            <rasd:InstanceID>5</rasd:InstanceID>
            <rasd:Reservation>0</rasd:Reservation>
            <rasd:ResourceType>4</rasd:ResourceType>
            <rasd:VirtualQuantity>512</rasd:VirtualQuantity>
            <rasd:Weight>0</rasd:Weight>
        </ovf:Item>
    </ovf:VirtualHardwareSection>
    <vcloud:NetworkConnectionSection ovf:required="false">
        <ovf:Info>Specifies the available VM network connections</ovf:Info>
        <vcloud:PrimaryNetworkConnectionIndex>0</vcloud:PrimaryNetworkConnectionIndex>
        <vcloud:NetworkConnection network="vAppNet-vApp Internal">
            <vcloud:NetworkConnectionIndex>0</vcloud:NetworkConnectionIndex>
            <vcloud:IpAddress>192.168.2.100</vcloud:IpAddress>
            <vcloud:IsConnected>true</vcloud:IsConnected>
            <vcloud:MACAddress>00:50:56:8c:00:13</vcloud:MACAddress>
            <vcloud:IpAddressAllocationMode>POOL</vcloud:IpAddressAllocationMode>
        </vcloud:NetworkConnection>
    </vcloud:NetworkConnectionSection>
    <vcloud:GuestCustomizationSection
        ovf:required="false">
        <ovf:Info>Specifies Guest OS Customization Settings</ovf:Info>
        <vcloud:Enabled>true</vcloud:Enabled>
        <vcloud:ChangeSid>false</vcloud:ChangeSid>
        <vcloud:VirtualMachineId>172837194</vcloud:VirtualMachineId>
        <vcloud:JoinDomainEnabled>false</vcloud:JoinDomainEnabled>
        <vcloud:UseOrgSettings>false</vcloud:UseOrgSettings>
        <vcloud:AdminPasswordEnabled>true</vcloud:AdminPasswordEnabled>
        <vcloud:AdminPasswordAuto>true</vcloud:AdminPasswordAuto>
        <vcloud:AdminPassword>%3eD%gmF</vcloud:AdminPassword>
        <vcloud:ResetPasswordRequired>false</vcloud:ResetPasswordRequired>
        <vcloud:CustomizationScript>#!/bin/bash if [ "$1" = "postcustomization" ]; then echo "post customization" touch /root/.postcustomization sleep 30 #regenerate keys /bin/rm /etc/ssh/ssh_host_* /usr/sbin/dpkg-reconfigure openssh-server echo "completed" fi</vcloud:CustomizationScript>
        <vcloud:ComputerName>Ubuntu1004</vcloud:ComputerName>
    </vcloud:GuestCustomizationSection>
</ovf:VirtualSystem>