summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/virtualbox/files/machine.include
diff options
context:
space:
mode:
authorMichael Janczyk2010-08-22 14:30:51 +0200
committerMichael Janczyk2010-08-22 14:30:51 +0200
commitbafde168ea55336dbf3efec9e61ebb236da673f1 (patch)
tree6509e5eeb2c9703a14142d31f41a0c4427b0f061 /os-plugins/plugins/virtualbox/files/machine.include
parent... (diff)
downloadcore-bafde168ea55336dbf3efec9e61ebb236da673f1.tar.gz
core-bafde168ea55336dbf3efec9e61ebb236da673f1.tar.xz
core-bafde168ea55336dbf3efec9e61ebb236da673f1.zip
cdrom support for vbox added
Diffstat (limited to 'os-plugins/plugins/virtualbox/files/machine.include')
-rw-r--r--os-plugins/plugins/virtualbox/files/machine.include10
1 files changed, 4 insertions, 6 deletions
diff --git a/os-plugins/plugins/virtualbox/files/machine.include b/os-plugins/plugins/virtualbox/files/machine.include
index 8d1e23c4..96acd7a2 100644
--- a/os-plugins/plugins/virtualbox/files/machine.include
+++ b/os-plugins/plugins/virtualbox/files/machine.include
@@ -111,12 +111,10 @@ cat << EOF > "${machconfig}"
<StorageController name="IDE-Controller" type="PIIX4" PortCount="2">
<AttachedDevice type="HardDisk" port="0" device="0">
<Image uuid="{${imageuuid}}"/>
- </AttachedDevice> <!-- PLEASE DO NOT REMOVE THIS COMMENT!!! -->
- <!--
- <AttachedDevice passthrough="false" type="DVD" port="0" device="0">
- <Image uuid="{dcd1e32a-729f-4faa-b319-67adca15e4a4}"/>
- </AttachedDevice>
- -->
+ </AttachedDevice> <!-- PLEASE DO NOT REMOVE THIS COMMENT (HD)!!! -->
+ <AttachedDevice passthrough="false" type="DVD" port="0" device="1">
+ <HostDrive src="${cdrom_0}"/>
+ </AttachedDevice> <!-- PLEASE DO NOT REMOVE THIS COMMENT (CD)!!! -->
</StorageController>
<!--
<StorageController name="Disketten-Controller" type="I82078" PortCount="1">