summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/virtualbox/files/run-virt.include
diff options
context:
space:
mode:
authorMichael Janczyk2010-05-09 20:56:34 +0200
committerMichael Janczyk2010-05-09 20:56:34 +0200
commit0921974c54dbf828c2f427c304b43470798a5322 (patch)
treeee9cb6fa7f9869073e59814c377cc5333065359a /os-plugins/plugins/virtualbox/files/run-virt.include
parentclean exit and port redirect bugfix and cosmetics (diff)
downloadcore-0921974c54dbf828c2f427c304b43470798a5322.tar.gz
core-0921974c54dbf828c2f427c304b43470798a5322.tar.xz
core-0921974c54dbf828c2f427c304b43470798a5322.zip
smaller changes
Diffstat (limited to 'os-plugins/plugins/virtualbox/files/run-virt.include')
-rw-r--r--os-plugins/plugins/virtualbox/files/run-virt.include6
1 files changed, 2 insertions, 4 deletions
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