diff options
| author | Manuel Schneider | 2014-11-26 12:21:45 +0100 |
|---|---|---|
| committer | Manuel Schneider | 2014-11-26 12:21:45 +0100 |
| commit | 63fa049f2332c1b7a19d61a4a04f537142c8a787 (patch) | |
| tree | 36295b8e35844e2491f5b3d5356d3617d45f7c10 /remote/modules/vmchooser2 | |
| parent | [PVS2] Remove unexpected 'fi' (diff) | |
| parent | [rfs-stage31] Write IP information to /opt/openslx/config even if config.tgz ... (diff) | |
| download | tm-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')
| -rwxr-xr-x | remote/modules/vmchooser2/data/opt/openslx/scripts/vmchooser-run_virt | 1 |
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 |
