[Pkg-escience-soc2009] [SCM] Tool for creating VM images. branch, dwendt_vmbuilder_debian, updated. 73ddb4976d4e2c1f234125beef359a9f08bcf031
David Wendt
kmeisthax at Lappy-486.A
Tue Jul 7 22:58:33 UTC 2009
The following commit has been merged in the dwendt_vmbuilder_debian branch:
commit 73ddb4976d4e2c1f234125beef359a9f08bcf031
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 ed1536d..6cb9eb9 100644
--- a/VMBuilder/plugins/virtualbox/templates/vm_deploy_script.tmpl
+++ b/VMBuilder/plugins/virtualbox/templates/vm_deploy_script.tmpl
@@ -24,6 +24,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