204 |
- |
1 |
# Customizations for the libvirt-guests.service systemd unit
|
|
|
2 |
|
|
|
3 |
# URIs to check for running guests
|
|
|
4 |
# example: URIS='default xen:///system vbox+tcp://host/system lxc:///system'
|
|
|
5 |
#URIS=default
|
|
|
6 |
|
|
|
7 |
# action taken on host boot
|
|
|
8 |
# - start all guests which were running on shutdown are started on boot
|
|
|
9 |
# regardless on their autostart settings
|
|
|
10 |
# - ignore libvirt-guests init script won't start any guest on boot, however,
|
|
|
11 |
# guests marked as autostart will still be automatically started by
|
|
|
12 |
# libvirtd
|
|
|
13 |
#ON_BOOT=start
|
|
|
14 |
|
|
|
15 |
# Number of seconds to wait between each guest start. Set to 0 to allow
|
|
|
16 |
# parallel startup.
|
|
|
17 |
#START_DELAY=0
|
|
|
18 |
|
|
|
19 |
# action taken on host shutdown
|
|
|
20 |
# - suspend all running guests are suspended using virsh managedsave
|
|
|
21 |
# - shutdown all running guests are asked to shutdown. Please be careful with
|
|
|
22 |
# this settings since there is no way to distinguish between a
|
|
|
23 |
# guest which is stuck or ignores shutdown requests and a guest
|
|
|
24 |
# which just needs a long time to shutdown. When setting
|
|
|
25 |
# ON_SHUTDOWN=shutdown, you must also set SHUTDOWN_TIMEOUT to a
|
|
|
26 |
# value suitable for your guests.
|
|
|
27 |
#ON_SHUTDOWN=suspend
|
|
|
28 |
|
|
|
29 |
# Number of guests will be shutdown concurrently, taking effect when
|
|
|
30 |
# "ON_SHUTDOWN" is set to "shutdown". If Set to 0, guests will be shutdown one
|
|
|
31 |
# after another. Number of guests on shutdown at any time will not exceed number
|
|
|
32 |
# set in this variable.
|
|
|
33 |
#PARALLEL_SHUTDOWN=0
|
|
|
34 |
|
|
|
35 |
# Number of seconds we're willing to wait for a guest to shut down. If parallel
|
|
|
36 |
# shutdown is enabled, this timeout applies as a timeout for shutting down all
|
|
|
37 |
# guests on a single URI defined in the variable URIS. If this is 0, then there
|
|
|
38 |
# is no time out (use with caution, as guests might not respond to a shutdown
|
|
|
39 |
# request). The default value is 300 seconds (5 minutes).
|
|
|
40 |
#SHUTDOWN_TIMEOUT=300
|
|
|
41 |
|
|
|
42 |
# If non-zero, try to bypass the file system cache when saving and
|
|
|
43 |
# restoring guests, even though this may give slower operation for
|
|
|
44 |
# some file systems.
|
|
|
45 |
#BYPASS_CACHE=0
|
|
|
46 |
|
|
|
47 |
# If non-zero, try to sync guest time on domain resume. Be aware, that
|
|
|
48 |
# this requires guest agent with support for time synchronization
|
|
|
49 |
# running in the guest. By default, this functionality is turned off.
|
|
|
50 |
#SYNC_TIME=1
|