summaryrefslogtreecommitdiffstats
path: root/remote/modules/vmchooser2/data/opt
diff options
context:
space:
mode:
authorManuel Schneider2014-11-26 12:21:45 +0100
committerManuel Schneider2014-11-26 12:21:45 +0100
commit63fa049f2332c1b7a19d61a4a04f537142c8a787 (patch)
tree36295b8e35844e2491f5b3d5356d3617d45f7c10 /remote/modules/vmchooser2/data/opt
parent[PVS2] Remove unexpected 'fi' (diff)
parent[rfs-stage31] Write IP information to /opt/openslx/config even if config.tgz ... (diff)
downloadtm-scripts-63fa049f2332c1b7a19d61a4a04f537142c8a787.tar.gz
tm-scripts-63fa049f2332c1b7a19d61a4a04f537142c8a787.tar.xz
tm-scripts-63fa049f2332c1b7a19d61a4a04f537142c8a787.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/vmchooser2/data/opt')
-rwxr-xr-xremote/modules/vmchooser2/data/opt/openslx/scripts/vmchooser-run_virt1
1 files changed, 1 insertions, 0 deletions
diff --git a/remote/modules/vmchooser2/data/opt/openslx/scripts/vmchooser-run_virt b/remote/modules/vmchooser2/data/opt/openslx/scripts/vmchooser-run_virt
index 759b8352..726c2340 100755
--- a/remote/modules/vmchooser2/data/opt/openslx/scripts/vmchooser-run_virt
+++ b/remote/modules/vmchooser2/data/opt/openslx/scripts/vmchooser-run_virt
@@ -239,6 +239,7 @@ writelog "VM config:"
imgname=$(grep -io '<image_path param=.*"' "${xmlfile}" | sed -e "s/&.*;/; /g" | awk -F '"' '{ print $2 }')
imgrelpath=$(grep -io '<image_name param=.*"' "${xmlfile}" | sed -e "s/&.*;/; /g" | awk -F '"' '{ print $2 }')
[ -z "$imgname" ] && imgname="${imgrelpath}"
+imgrelpath=${imgrelpath#/mnt/vmstore/}
## Added for persistent support.
if [[ "$userBranchFilePath" ]]; then