[Pkg-escience-soc2009] [SCM] Tool for creating VM images. branch, master, updated. 7e1327460345a2b95b4f56415c17eaca76bf585c

Steffen Moeller steffen_moeller at gmx.de
Tue Jul 7 09:14:37 UTC 2009


The following commit has been merged in the master branch:
commit 7e1327460345a2b95b4f56415c17eaca76bf585c
Author: Steffen Moeller <steffen_moeller at gmx.de>
Date:   Tue Jul 7 11:13:44 2009 +0200

    Pointed out problem with OSE variant of VirtualBox
    
    which is the one shipping per default with Debian.
    -sata does not work with it.

diff --git a/VMBuilder/plugins/virtualbox/templates/vm_deploy_script.tmpl b/VMBuilder/plugins/virtualbox/templates/vm_deploy_script.tmpl
index 03b8de4..79faaf9 100644
--- a/VMBuilder/plugins/virtualbox/templates/vm_deploy_script.tmpl
+++ b/VMBuilder/plugins/virtualbox/templates/vm_deploy_script.tmpl
@@ -28,6 +28,11 @@ VBoxManage openmedium #slurp
 disk \${disk_path}/$disk -type normal #slurp
 #end for
 
+# FIXME: only do "-sata on" when not the OSE version of
+#        virtualbox is used. This can be tested with
+#        VBoxManage  --version | grep -q _OSE
+#        Check http://www.virtualbox.org/wiki/Editions
+#        for details
 VBoxManage modifyvm $vm_name -memory $memory -sata on #slurp
 #set $i = 0
 #for $disk in $vm_disks

-- 
Tool for creating VM images.



More information about the Pkg-escience-soc2009 mailing list