openstack-ansible/playbooks/roles/os_nova/templates/libvirtd.conf.j2
kevin e65066cf12 Remove hardcoded config drive enforcement
This change removes the forced use of config drive to ensure that a user
can choose to use config drive as needed. This adds ability to
disable/enable config drive and allows libvirt to listen for connections
on tcp as needed for live migrations (prohibited otherwise by config drive).

The following new variables were added to os_nova role:

nova_force_config_drive
nova_libvirtd_listen_tls: 1
nova_libvirtd_listen_tcp: 0
nova_libvirtd_auth_tcp: sasl

Change-Id: I1de35a4b3611b8bc33a21930dae3fd38f9aaa151
Closes-Bug: #1468514
DocImpact
2015-08-13 10:03:37 +01:00

11 lines
284 B
Django/Jinja

# {{ ansible_managed }}
listen_tls = {{ nova_libvirtd_listen_tls }}
listen_tcp = {{ nova_libvirtd_listen_tcp }}
unix_sock_group = "libvirtd"
unix_sock_ro_perms = "0777"
unix_sock_rw_perms = "0770"
auth_unix_ro = "none"
auth_unix_rw = "none"
auth_tcp = "{{ nova_libvirtd_auth_tcp }}"