From db6197d0a0b91741740f1a3535684859d15a0640 Mon Sep 17 00:00:00 2001 From: Raphael Dannecker Date: Thu, 5 Jun 2025 12:43:22 +0200 Subject: [PATCH 1/2] Prevents the `--options` option in `vm-run` from interfering with other options --- roles/lmn_vm/files/vm-run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/lmn_vm/files/vm-run b/roles/lmn_vm/files/vm-run index 700a0ab..5307c68 100755 --- a/roles/lmn_vm/files/vm-run +++ b/roles/lmn_vm/files/vm-run @@ -216,7 +216,7 @@ while true; do shift ;; -o | --options ) - LIBVIRTOPTS=$2 + LIBVIRTOPTS="${LIBVIRTOPTS} $2" shift 2 ;; --no-viewer ) From efd48de6c734d8052d94cea0442a8ebe90be4f39 Mon Sep 17 00:00:00 2001 From: Raphael Dannecker Date: Thu, 5 Jun 2025 13:02:12 +0200 Subject: [PATCH 2/2] The virt-viewer package must be explicitly selected for trixie --- roles/lmn_vm/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/lmn_vm/tasks/main.yml b/roles/lmn_vm/tasks/main.yml index a39325a..a3ce960 100644 --- a/roles/lmn_vm/tasks/main.yml +++ b/roles/lmn_vm/tasks/main.yml @@ -18,6 +18,7 @@ - mktorrent - libvirt-daemon-system - virt-manager + - virt-viewer - dialog # for vm-netboot menu # - name: allow all users to use VMs