diff options
author | Manuel Bentele | 2021-05-17 14:49:24 +0200 |
---|---|---|
committer | Manuel Bentele | 2021-05-17 14:49:24 +0200 |
commit | 96768a5133953ea3fa57ab4f7eac145e98637739 (patch) | |
tree | 5c449b178924ba8953bb16bce9f18c0fe32baaad /core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemu/run-virt.include | |
parent | [qemu] Keep track of defined VMs to automatically close them before program exit (diff) | |
download | mltk-96768a5133953ea3fa57ab4f7eac145e98637739.tar.gz mltk-96768a5133953ea3fa57ab4f7eac145e98637739.tar.xz mltk-96768a5133953ea3fa57ab4f7eac145e98637739.zip |
[qemu] Show virt-manager in debug mode to inspect Libvirt VM
Diffstat (limited to 'core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemu/run-virt.include')
-rw-r--r-- | core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemu/run-virt.include | 1 |
1 files changed, 1 insertions, 0 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 90a00c6e..b7e43df9 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 @@ -29,6 +29,7 @@ run_plugin() { # call the Libvirt Java tool to finalize configuration and start VM declare -rg VIRTCMD="java -jar /opt/openslx/share/java/runvirt-plugin-qemu.jar" + isset DEBUG && VIRTCMDOPTS+=( "-debug" "${DEBUG}" ) isset VM_CLEANNAME && VIRTCMDOPTS+=( "-vmname" "${VM_CLEANNAME}" ) isset VM_DISPLAYNAME && VIRTCMDOPTS+=( "-vmdsplname" "${VM_DISPLAYNAME}" ) isset VM_OS_TYPE && VIRTCMDOPTS+=( "-vmos" "${VM_OS_TYPE}" ) |