提交 64e070e8 编写于 作者: M Michal Privoznik

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: NMichal Privoznik <mprivozn@redhat.com>
上级 e27c5c8f
...@@ -39,6 +39,7 @@ START_DELAY=0 ...@@ -39,6 +39,7 @@ START_DELAY=0
BYPASS_CACHE=0 BYPASS_CACHE=0
CONNECT_RETRIES=10 CONNECT_RETRIES=10
RETRIES_SLEEP=1 RETRIES_SLEEP=1
SYNC_TIME=0
test -f "$sysconfdir"/sysconfig/libvirt-guests && test -f "$sysconfdir"/sysconfig/libvirt-guests &&
. "$sysconfdir"/sysconfig/libvirt-guests . "$sysconfdir"/sysconfig/libvirt-guests
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册