From 280e8247eefc721c8c450b92990dde2a1714452b Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Mon, 5 Jul 2021 09:00:10 +0200 Subject: [qemu] Fix hard-coded path to run-virt Java tool --- .../qemu/data/opt/openslx/vmchooser/plugins/qemu/run-virt.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" ) -- cgit v1.2.3-55-g7522