From: Michal Privoznik Date: Mon, 11 May 2015 16:18:39 +0000 (+0200) Subject: libvirt-guests: Initialize SYNC_TIME X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=64e070e8fee41523d392f9c5288643ff425b6897;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git libvirt-guests: Initialize SYNC_TIME https://bugzilla.redhat.com/show_bug.cgi?id=1191227 Since 0fa15b19 we have this variable SYNC_TIME which allows users to synchronize time on domain resume. However, despite what documentation says, it's by default on because it's never initialized. Fix this by setting it to zero at the beginning of the libvirt-guests script. Signed-off-by: Michal Privoznik --- diff --git a/tools/libvirt-guests.sh.in b/tools/libvirt-guests.sh.in index 9aa06fa2b..7f74b85c1 100644 --- a/tools/libvirt-guests.sh.in +++ b/tools/libvirt-guests.sh.in @@ -39,6 +39,7 @@ START_DELAY=0 BYPASS_CACHE=0 CONNECT_RETRIES=10 RETRIES_SLEEP=1 +SYNC_TIME=0 test -f "$sysconfdir"/sysconfig/libvirt-guests && . "$sysconfdir"/sysconfig/libvirt-guests