summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/virtualbox/files/run-virt.include
diff options
context:
space:
mode:
Diffstat (limited to 'src/os-plugins/plugins/virtualbox/files/run-virt.include')
-rw-r--r--src/os-plugins/plugins/virtualbox/files/run-virt.include11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/os-plugins/plugins/virtualbox/files/run-virt.include b/src/os-plugins/plugins/virtualbox/files/run-virt.include
index 3e35af89..f5eb3c16 100644
--- a/src/os-plugins/plugins/virtualbox/files/run-virt.include
+++ b/src/os-plugins/plugins/virtualbox/files/run-virt.include
@@ -52,8 +52,8 @@ mkdir -p ${diskfolder} ${snapshotdir} 2>/dev/null
[ -z "${diskless}" ] && diskless=0
# default guest audio controller (SB16, AC97, HDA)
guestaudio="HDA"
-# default guest network adaptor
-vb_network_card="Am79C973"
+# default guest network adaptor (Am79C970A, Am79C973, 82540EM)
+vb_network_card="82540EM"
# default setting for accelerated 2D grapics (OS dependent)
enable2d="true"
# set default graphics ram
@@ -93,6 +93,7 @@ enablevt="false"
case "${vmostype}" in
win31*)
guestaudio="SB16"
+ vb_network_card="Am79C973"
vmostype="Windows31"
mem="32"
vram="16"
@@ -102,6 +103,7 @@ case "${vmostype}" in
win95*)
vmostype="Windows95"
guestaudio="SB16"
+ vb_network_card="Am79C973"
mem="92"
vram="32"
cpu_cores=1
@@ -110,6 +112,7 @@ case "${vmostype}" in
win98*)
vmostype="Windows98"
guestaudio="SB16"
+ vb_network_card="Am79C973"
mem="256"
vram="64"
cpu_cores=1
@@ -117,6 +120,7 @@ case "${vmostype}" in
winme*)
vmostype="WindowsMe"
guestaudio="AC97"
+ vb_network_card="Am79C973"
mem="256"
vram="64"
cpu_cores=1
@@ -131,6 +135,9 @@ case "${vmostype}" in
windows7*)
vmostype="Windows7"
;;
+ windows8*)
+ vmostype="Windows8"
+ ;;
linux*|*ubuntu*|*suse*|debian*|*sci*)
if echo "${vmostype}" | grep -q "64"; then
vmostype="Linux26_64"