diff options
author | Manuel Bentele | 2021-07-05 09:00:10 +0200 |
---|---|---|
committer | Manuel Bentele | 2021-07-05 09:00:10 +0200 |
commit | 280e8247eefc721c8c450b92990dde2a1714452b (patch) | |
tree | 2ed6dc7b2683183fc651916b63000ee4ebdc4fae | |
parent | [qemu] Add QEMU bridge helper to access bridges from user session (diff) | |
download | mltk-280e8247eefc721c8c450b92990dde2a1714452b.tar.gz mltk-280e8247eefc721c8c450b92990dde2a1714452b.tar.xz mltk-280e8247eefc721c8c450b92990dde2a1714452b.zip |
[qemu] Fix hard-coded path to run-virt Java tool
-rw-r--r-- | core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemu/run-virt.include | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemu/run-virt.include b/core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemu/run-virt.include index c9d2856c..f35afd04 100644 --- a/core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemu/run-virt.include +++ b/core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemu/run-virt.include @@ -28,7 +28,7 @@ run_plugin() { # call the Libvirt Java tool to finalize configuration and start VM declare -rg VIRTCMD="java" - VIRTCMDOPTS=( "-jar" "/opt/openslx/vmchooser/plugins/qemu/runvirt-plugin-qemu.jar" ) + VIRTCMDOPTS=( "-jar" "${QEMU_PLUGIN_DIR}/runvirt-plugin-qemu.jar" ) notempty DEBUG && VIRTCMDOPTS+=( "-debug" "${DEBUG}" ) notempty VM_CLEANNAME && VIRTCMDOPTS+=( "-vmname" "${VM_CLEANNAME}" ) |