summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmchooser
diff options
context:
space:
mode:
authorSimon Rettberg2013-11-28 13:54:41 +0100
committerSimon Rettberg2013-11-28 13:54:41 +0100
commit0ecfab1d01592f75d2f425cb640e3fbb8bb9727e (patch)
tree3f0b474e2b9a882751fc4c941ea2bc09904cb5fb /remote/modules/vmchooser
parentMerge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
downloadtm-scripts-0ecfab1d01592f75d2f425cb640e3fbb8bb9727e.tar.gz
tm-scripts-0ecfab1d01592f75d2f425cb640e3fbb8bb9727e.tar.xz
tm-scripts-0ecfab1d01592f75d2f425cb640e3fbb8bb9727e.zip
[vmchooser] Consistent slxlog event ids
Diffstat (limited to 'remote/modules/vmchooser')
-rwxr-xr-xremote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt b/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt
index 0030eda1..5e997647 100755
--- a/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt
+++ b/remote/modules/vmchooser/data/opt/openslx/scripts/vmchooser-run_virt
@@ -491,7 +491,7 @@ fi
# Check if virtual machine container file exists
if ! [ -e "${vmpath}" ]; then
- slxlog "virt-missing-image" "VM image $vmpath not found!"
+ slxlog "virt-image-missing" "VM image $vmpath not found!"
writelog "Virtual machine image ${vmpath} not found!"
cleanexit 1
fi
@@ -501,7 +501,7 @@ writelog "Used diskfile: $vm_diskfile"
# Get all virtual machine specific stuff from the respective include file
if [ ! -e "$VMCHOOSER_DIR/$xmlvirt/run-virt.include" ] ; then
# TODO: Tell user
- slxlog "virt-plugin-missing" "Could not find run-virt.include for $xmlvirt"
+ slxlog "virt-plugin-missing" "Could not find run-virt.include for $xmlvirt ($VMCHOOSER_DIR/$xmlvirt/run-virt.include)"
writelog "Failed because of missing ${xmlvirt} plugin."
cleanexit 1
fi