dom0/pm-utils: initial clock sync also in ClockVM after resume
When there is no internet connection, clockvm will have no chance to sync clock itself.
This commit is contained in:
parent
8faed05eba
commit
e7b65b457b
@ -8,7 +8,7 @@ sync_qubes_vms_wallclock()
|
|||||||
DATE=$(date)
|
DATE=$(date)
|
||||||
echo
|
echo
|
||||||
echo "Syncing VMs clock to: $DATE"
|
echo "Syncing VMs clock to: $DATE"
|
||||||
qvm-run --all --exclude=`qubes-prefs --get clockvm` -u root "date -s \"$DATE\""
|
qvm-run --all -u root "date -s \"$DATE\""
|
||||||
# Then try to sync from the network
|
# Then try to sync from the network
|
||||||
/usr/bin/qvm-sync-clock &
|
/usr/bin/qvm-sync-clock &
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user