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:
parent
f6609cb1c4
commit
87ebdeefd4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user