From 0921974c54dbf828c2f427c304b43470798a5322 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Sun, 9 May 2010 20:56:34 +0200 Subject: smaller changes --- os-plugins/plugins/virtualbox/files/run-virt.include | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'os-plugins/plugins/virtualbox/files/run-virt.include') diff --git a/os-plugins/plugins/virtualbox/files/run-virt.include b/os-plugins/plugins/virtualbox/files/run-virt.include index 2091f79e..4a1e2c14 100644 --- a/os-plugins/plugins/virtualbox/files/run-virt.include +++ b/os-plugins/plugins/virtualbox/files/run-virt.include @@ -136,7 +136,8 @@ imageuuid=${snapshotuuid} if echo "${imgmode}" | grep -q rw; then # lock existing? if [ -e "${vmpath}.lock" ]; then - writelog "This rw image is already in use: ${vmpath}, exiting!" + writelog "This rw image is already in use." + writelog "Found lock in: ${vmpath}.lock, exiting!" writelog "Remove lock if you are sure that this is not the case" cleanexit 1 # image rw? @@ -158,9 +159,6 @@ elif [ ${diskless} -eq 0 ]; then | gunzip > "${snapshotdir}/{${snapshotuuid}}.vdi" fi -# make sure cpu_cores is not empty -cpu_cores=${cpu_cores:-"1"} - # TODO: MEM muss noch angepasst werden. Maschine crasht wenn nehr als 50% MEM # memory part equal to vmware plugin # percentage of memory to use for virtualbox in standard case -- cgit v1.2.3-55-g7522