Add resume_guests_state_on_host_boot to nova.conf

Add the ability to enable the resume_guests_state_on_host_boot flag in
nova.conf to start guests that were running before the host rebooted.

Change-Id: I7365d972dc7e41a46b340396a73518b1da918f05
Closes-Bug: 1483246
This commit is contained in:
Christopher H. Laco 2015-08-11 10:41:30 -04:00
parent 27831a026f
commit 203e6dfb42
2 changed files with 2 additions and 0 deletions

View File

@ -194,6 +194,7 @@ nova_compute_driver: libvirt.LibvirtDriver
nova_max_age: 0
nova_remove_unused_resized_minimum_age_seconds: 3600
nova_image_cache_manager_interval: 0
nova_resume_guests_state_on_host_boot: False
# Nova quota
nova_quota_cores: 20

View File

@ -57,6 +57,7 @@ instances_path = {{ nova_system_home_folder }}/instances
api_paste_config = /etc/nova/api-paste.ini
allow_resize_to_same_host = True
image_cache_manager_interval = {{ nova_image_cache_manager_interval }}
resume_guests_state_on_host_boot = {{ nova_resume_guests_state_on_host_boot }}
# Api's
enabled_apis = {{ nova_enabled_apis }}