525e4cdd51
This patch makes it possible to build the Virtualbox-compatible OVA archive withouth using vagrant, virtualbox, or vmware-specific tools. Currently the created ova archive can be imported on VirtualBox and VMWare Player, the disk image itself can be used with libvirt (qemu-kvm). It contains all the drivers that enables using it as a desktop system with shared clipboard, auto-resizing display, etc. Since the diskimage-builder method installs in chroot, there is no way to pre-install devstack by running stack.sh. The image makes a best effort including all the deb and pip packages to make the first run of stack.sh as short as possible. Change-Id: Ie1f6e44db7e0af8d072cfdf16ace1ba3f749c246
161 lines
7.4 KiB
XML
161 lines
7.4 KiB
XML
<?xml version="1.0"?>
|
|
<Envelope ovf:version="1.0" xml:lang="en-US" xmlns="http://schemas.dmtf.org/ovf/envelope/1" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:vbox="http://www.virtualbox.org/ovf/machine">
|
|
<References>
|
|
<File ovf:id="file1" ovf:href="upstream-training-disk001.vmdk"/>
|
|
</References>
|
|
<DiskSection>
|
|
<Info>List of the virtual disks used in the package</Info>
|
|
<Disk ovf:capacity="42949672960" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" vbox:uuid="18a5abb2-39a4-4338-9ebf-927df6c2c751"/>
|
|
</DiskSection>
|
|
<NetworkSection>
|
|
<Info>Logical networks used in the package</Info>
|
|
<Network ovf:name="NAT">
|
|
<Description>Logical network used by this appliance.</Description>
|
|
</Network>
|
|
</NetworkSection>
|
|
<VirtualSystem ovf:id="upstream-training">
|
|
<Info>A virtual machine</Info>
|
|
<OperatingSystemSection ovf:id="94">
|
|
<Info>The kind of installed guest operating system</Info>
|
|
<Description>Ubuntu_64</Description>
|
|
<vbox:OSType ovf:required="false">Ubuntu_64</vbox:OSType>
|
|
</OperatingSystemSection>
|
|
<VirtualHardwareSection>
|
|
<Info>Virtual hardware requirements for a virtual machine</Info>
|
|
<System>
|
|
<vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
|
|
<vssd:InstanceID>0</vssd:InstanceID>
|
|
<vssd:VirtualSystemIdentifier>upstream-training</vssd:VirtualSystemIdentifier>
|
|
<vssd:VirtualSystemType>virtualbox-2.2</vssd:VirtualSystemType>
|
|
</System>
|
|
<Item>
|
|
<rasd:Caption>2 virtual CPU</rasd:Caption>
|
|
<rasd:Description>Number of virtual CPUs</rasd:Description>
|
|
<rasd:ElementName>2 virtual CPU</rasd:ElementName>
|
|
<rasd:InstanceID>1</rasd:InstanceID>
|
|
<rasd:ResourceType>3</rasd:ResourceType>
|
|
<rasd:VirtualQuantity>2</rasd:VirtualQuantity>
|
|
</Item>
|
|
<Item>
|
|
<rasd:AllocationUnits>MegaBytes</rasd:AllocationUnits>
|
|
<rasd:Caption>4096 MB of memory</rasd:Caption>
|
|
<rasd:Description>Memory Size</rasd:Description>
|
|
<rasd:ElementName>4096 MB of memory</rasd:ElementName>
|
|
<rasd:InstanceID>2</rasd:InstanceID>
|
|
<rasd:ResourceType>4</rasd:ResourceType>
|
|
<rasd:VirtualQuantity>4096</rasd:VirtualQuantity>
|
|
</Item>
|
|
<Item>
|
|
<rasd:Address>0</rasd:Address>
|
|
<rasd:Caption>ideController0</rasd:Caption>
|
|
<rasd:Description>IDE Controller</rasd:Description>
|
|
<rasd:ElementName>ideController0</rasd:ElementName>
|
|
<rasd:InstanceID>3</rasd:InstanceID>
|
|
<rasd:ResourceSubType>PIIX4</rasd:ResourceSubType>
|
|
<rasd:ResourceType>5</rasd:ResourceType>
|
|
</Item>
|
|
<Item>
|
|
<rasd:Address>1</rasd:Address>
|
|
<rasd:Caption>ideController1</rasd:Caption>
|
|
<rasd:Description>IDE Controller</rasd:Description>
|
|
<rasd:ElementName>ideController1</rasd:ElementName>
|
|
<rasd:InstanceID>4</rasd:InstanceID>
|
|
<rasd:ResourceSubType>PIIX4</rasd:ResourceSubType>
|
|
<rasd:ResourceType>5</rasd:ResourceType>
|
|
</Item>
|
|
<Item>
|
|
<rasd:Address>0</rasd:Address>
|
|
<rasd:Caption>scsiController0</rasd:Caption>
|
|
<rasd:Description>SCSI Controller</rasd:Description>
|
|
<rasd:ElementName>scsiController0</rasd:ElementName>
|
|
<rasd:InstanceID>5</rasd:InstanceID>
|
|
<rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
|
|
<rasd:ResourceType>6</rasd:ResourceType>
|
|
</Item>
|
|
<Item>
|
|
<rasd:AddressOnParent>3</rasd:AddressOnParent>
|
|
<rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
|
|
<rasd:Caption>sound</rasd:Caption>
|
|
<rasd:Description>Sound Card</rasd:Description>
|
|
<rasd:ElementName>sound</rasd:ElementName>
|
|
<rasd:InstanceID>6</rasd:InstanceID>
|
|
<rasd:ResourceSubType>ensoniq1371</rasd:ResourceSubType>
|
|
<rasd:ResourceType>35</rasd:ResourceType>
|
|
</Item>
|
|
<Item>
|
|
<rasd:AddressOnParent>0</rasd:AddressOnParent>
|
|
<rasd:Caption>disk1</rasd:Caption>
|
|
<rasd:Description>Disk Image</rasd:Description>
|
|
<rasd:ElementName>disk1</rasd:ElementName>
|
|
<rasd:HostResource>/disk/vmdisk1</rasd:HostResource>
|
|
<rasd:InstanceID>7</rasd:InstanceID>
|
|
<rasd:Parent>5</rasd:Parent>
|
|
<rasd:ResourceType>17</rasd:ResourceType>
|
|
</Item>
|
|
<Item>
|
|
<rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
|
|
<rasd:Caption>Ethernet adapter on 'NAT'</rasd:Caption>
|
|
<rasd:Connection>NAT</rasd:Connection>
|
|
<rasd:ElementName>Ethernet adapter on 'NAT'</rasd:ElementName>
|
|
<rasd:InstanceID>9</rasd:InstanceID>
|
|
<rasd:ResourceSubType>E1000</rasd:ResourceSubType>
|
|
<rasd:ResourceType>10</rasd:ResourceType>
|
|
</Item>
|
|
</VirtualHardwareSection>
|
|
<vbox:Machine ovf:required="false" version="1.16-linux" uuid="{c131fc6e-41ea-40ea-8ec3-8808cd818e7d}" name="upstream-training" OSType="Ubuntu_64" snapshotFolder="Snapshots" lastStateChange="2018-01-05T21:03:32Z">
|
|
<ovf:Info>Complete VirtualBox machine configuration in VirtualBox format</ovf:Info>
|
|
<ExtraData>
|
|
<ExtraDataItem name="VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant" value="1"/>
|
|
</ExtraData>
|
|
<Hardware>
|
|
<CPU count="2">
|
|
<PAE enabled="true"/>
|
|
<LongMode enabled="true"/>
|
|
<X2APIC enabled="true"/>
|
|
<HardwareVirtExLargePages enabled="false"/>
|
|
</CPU>
|
|
<Memory RAMSize="4096"/>
|
|
<Boot>
|
|
<Order position="1" device="HardDisk"/>
|
|
<Order position="2" device="None"/>
|
|
<Order position="3" device="None"/>
|
|
<Order position="4" device="None"/>
|
|
</Boot>
|
|
<Display VRAMSize="32" accelerate3D="true"/>
|
|
<VideoCapture fps="25" options="ac_enabled=false"/>
|
|
<BIOS>
|
|
<IOAPIC enabled="true"/>
|
|
</BIOS>
|
|
<Network>
|
|
<Adapter slot="0" enabled="true" MACAddress="0251174123CB" type="82540EM">
|
|
<DisabledModes>
|
|
<BridgedInterface name="wlp4s0"/>
|
|
<InternalNetwork name="intnet"/>
|
|
<NATNetwork name="NatNetwork"/>
|
|
</DisabledModes>
|
|
<NAT network="192.168.10/24">
|
|
<DNS use-proxy="true"/>
|
|
<Forwarding name="ssh" proto="1" hostip="127.0.0.1" hostport="2200" guestport="22"/>
|
|
</NAT>
|
|
</Adapter>
|
|
</Network>
|
|
<UART>
|
|
<Port slot="0" enabled="true" IOBase="0x3f8" IRQ="4" hostMode="Disconnected"/>
|
|
</UART>
|
|
<AudioAdapter driver="Pulse" enabled="true"/>
|
|
<RTC localOrUTC="UTC"/>
|
|
<Clipboard mode="Bidirectional"/>
|
|
<DragAndDrop mode="Bidirectional"/>
|
|
</Hardware>
|
|
<StorageControllers>
|
|
<StorageController name="IDE" type="PIIX4" PortCount="2" useHostIOCache="true" Bootable="true"/>
|
|
<StorageController name="SCSI" type="LsiLogic" PortCount="16" useHostIOCache="true" Bootable="true">
|
|
<AttachedDevice nonrotational="true" type="HardDisk" hotpluggable="false" port="0" device="0">
|
|
<Image uuid="{18a5abb2-39a4-4338-9ebf-927df6c2c751}"/>
|
|
</AttachedDevice>
|
|
</StorageController>
|
|
</StorageControllers>
|
|
</vbox:Machine>
|
|
</VirtualSystem>
|
|
</Envelope>
|