summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/virtualbox/files/machine.include
diff options
context:
space:
mode:
Diffstat (limited to 'src/os-plugins/plugins/virtualbox/files/machine.include')
-rw-r--r--src/os-plugins/plugins/virtualbox/files/machine.include6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/os-plugins/plugins/virtualbox/files/machine.include b/src/os-plugins/plugins/virtualbox/files/machine.include
index 6367d3d9..d1c77f02 100644
--- a/src/os-plugins/plugins/virtualbox/files/machine.include
+++ b/src/os-plugins/plugins/virtualbox/files/machine.include
@@ -56,7 +56,11 @@ cat << EOF > "${machconfig}"
<Adapter slot="0" enabled="true" MACAddress="${macaddr}" cable="true" speed="0" type="${vb_network_card}">
<${network_kind}/>
</Adapter>
- <Adapter slot="1" enabled="false" MACAddress="0800279312CC" cable="true" speed="0" type="Am79C973"/>
+ <Adapter slot="1" enabled="false" MACAddress="${vdemacaddr}" cable="true" speed="0" type="${vb_network_card}">
+ <GenericInterface driver="VDE">
+ <Properties name="network" value="/tmp/vde-switch"/>
+ </GenericInterface>
+ </Adapter>
<Adapter slot="2" enabled="false" MACAddress="080027A3A3CC" cable="true" speed="0" type="Am79C973"/>
<Adapter slot="3" enabled="false" MACAddress="0800277356CC" cable="true" speed="0" type="Am79C973"/>
<Adapter slot="4" enabled="false" MACAddress="080027CEA8CC" cable="true" speed="0" type="Am79C973"/>