From 89aaa6075346806954a87628e9d16ad7cd2e6c4b Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Fri, 22 Jun 2012 22:23:17 +0200 Subject: [PATCH] dom0: use RPC service to sync clock via NTP (#603) --- dom0/qvm-tools/qvm-sync-clock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qvm-tools/qvm-sync-clock b/dom0/qvm-tools/qvm-sync-clock index 449c664f..84f54ba8 100755 --- a/dom0/qvm-tools/qvm-sync-clock +++ b/dom0/qvm-tools/qvm-sync-clock @@ -67,7 +67,7 @@ def main(): net_vm.run('user:nm-online -x', verbose=verbose, wait=True) # Sync clock - if clock_vm.run('root:/etc/init.d/ntpdate restart', verbose=verbose, wait=True) != 0: + if clock_vm.run('root:QUBESRPC qubes.SyncNtpClock dom0', verbose=verbose, wait=True) != 0: print >> sys.stderr, 'Time sync failed, aborting!' sys.exit(1)