dom0+vm: download updates as normal user (#198)
This commit is contained in:
parent
382dafb6cd
commit
22fbccee6b
@ -54,5 +54,4 @@ else
|
||||
yumdownloader --destdir "$DOM0_UPDATES_DIR/packages" --installroot "$DOM0_UPDATES_DIR" $PKGLIST
|
||||
fi
|
||||
|
||||
# qvm-copy-to-vm works only from user
|
||||
su -c "/usr/lib/qubes/qrexec_client_vm dom0 qubes.ReceiveUpdates /usr/lib/qubes/qfile-agent $DOM0_UPDATES_DIR/packages/*.rpm" user
|
||||
/usr/lib/qubes/qrexec_client_vm dom0 qubes.ReceiveUpdates /usr/lib/qubes/qfile-agent $DOM0_UPDATES_DIR/packages/*.rpm
|
||||
|
Loading…
Reference in New Issue
Block a user