dom0: use qrexec_client instead of qvm-run to not start guid

guid doesn't makes sense in /etc/init.d/qubes_netvm
This commit is contained in:
Marek Marczykowski 2011-07-09 21:12:11 +02:00
parent f6609cb1c4
commit 87ebdeefd4

View File

@ -3,7 +3,7 @@
UPDATEVM=`qvm-get-updatevm`
if [ -n "$UPDATEVM" ]; then
qvm-run -u root --pass_io --localcmd='tar c /var/lib/rpm /etc/yum.repos.d' "$UPDATEVM" 'tar x -C /var/lib/qubes/dom0-updates'
/usr/lib/qubes/qrexec_client -d "$UPDATEVM" -l 'tar c /var/lib/rpm /etc/yum.repos.d' 'root:tar x -C /var/lib/qubes/dom0-updates'
fi
# Ignore errors (eg VM not running)