kolla-ansible/ansible/roles/nova-cell/templates/sshd_config.j2
Michal Nasiadka 7c32e6f3b3 nova: Fix live migration on RHEL9 derivatives
Closes-Bug: #2005119
Change-Id: I542f7ae19b4400355b04854f42a1d1802a6efeea
2023-04-03 10:28:48 +00:00

12 lines
344 B
Django/Jinja

Port {{ nova_ssh_port }}
ListenAddress {{ api_interface_address }}
{% if migration_interface_address != api_interface_address %}
ListenAddress {{ migration_interface_address }}
{% endif %}
SyslogFacility AUTHPRIV
UsePAM yes
{% if kolla_base_distro in ["centos", "rocky"] %}
Subsystem sftp /usr/libexec/openssh/sftp-server
{% endif %}