Improve OVF descriptor (#1030)

* Add sound card by default using the hdaudio driver (#925)

* Use virtio-net for VirtualBox

The virtio-net driver is a paravirtualization driver which means less
overhead than virtualizing a full network card. The driver is supported
by VirtualBox since several releases by now.

* Use full OS name in product name.
This commit is contained in:
Stefan Agner 2020-11-27 16:36:44 +01:00 committed by GitHub
parent beaad9ac9b
commit 4cbbeeb7dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,8 +18,8 @@
<Name>Home Assistant</Name>
<ProductSection>
<Info>Meta-information about the installed software</Info>
<Product>Operating-System</Product>
<ProductUrl>https://home-assistant.io</ProductUrl>
<Product>Home Assistant Operating System</Product>
<ProductUrl>https://www.home-assistant.io</ProductUrl>
</ProductSection>
<OperatingSystemSection ovf:id="100" vmw:osType="other4xLinux64Guest">
<Info>The kind of installed guest operating system</Info>
@ -89,6 +89,13 @@
<rasd:ResourceSubType>E1000</rasd:ResourceSubType>
<rasd:ResourceType>10</rasd:ResourceType>
</Item>
<Item ovf:required="false">
<rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
<rasd:ElementName>Audio</rasd:ElementName>
<rasd:InstanceID>11</rasd:InstanceID>
<rasd:ResourceSubType>vmware.soundcard.hdaudio</rasd:ResourceSubType>
<rasd:ResourceType>1</rasd:ResourceType>
</Item>
<vmw:Config ovf:required="false" vmw:key="firmware" vmw:value="efi"/>
<vmw:ExtraConfig ovf:required="false" vmw:key="cpuid.coresPerSocket" vmw:value="2"/>
<vmw:ExtraConfig ovf:required="false" vmw:key="svga.present" vmw:value="TRUE"/>
@ -121,11 +128,11 @@
</Controllers>
</USB>
<Network>
<Adapter slot="0" enabled="true" type="82540EM">
<Adapter slot="0" enabled="true" type="virtio">
<BridgedInterface />
</Adapter>
</Network>
<AudioAdapter driver="Null" enabled="false"/>
<AudioAdapter controller="HDA" enabled="true"/>
<RTC localOrUTC="UTC"/>
</Hardware>
<StorageControllers>