From aeb04e24e258cea66d3d0176b891dab42dbe59f1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Ouellet Date: Thu, 30 Nov 2017 08:48:13 -0500 Subject: [PATCH] qubes-dom0-update: Simplify qvm-run auto-starts VMs by default --- dom0-updates/qubes-dom0-update | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dom0-updates/qubes-dom0-update b/dom0-updates/qubes-dom0-update index 7329933..2f33f7a 100755 --- a/dom0-updates/qubes-dom0-update +++ b/dom0-updates/qubes-dom0-update @@ -157,8 +157,7 @@ rm -f /var/lib/qubes/updates/errors echo "Using $UPDATEVM as UpdateVM to download updates for Dom0; this may take some time..." >&2 -# Start VM if not running already -qvm-start --skip-if-running $UPDATEVM +# qvm-run by default auto-starts the VM if not running qvm-run --nogui -q $UPDATEVM 'rm -rf /var/lib/qubes/dom0-updates/etc' || exit 1 tar c /var/lib/rpm /etc/yum.repos.d /etc/yum.conf 2>/dev/null | \ qvm-run --nogui --pass-io "$UPDATEVM" 'LC_MESSAGES=C tar x -C /var/lib/qubes/dom0-updates 2>&1 | grep -v -E "s in the future"'