Merge "Add explicit AllowUsers options for nova_migration"

This commit is contained in:
Zuul 2020-10-24 01:15:14 +00:00 committed by Gerrit Code Review
commit 7e122e0947
2 changed files with 5 additions and 0 deletions

View File

@ -90,6 +90,7 @@ class tripleo::profile::base::nova::migration::target (
type => $allow_type,
order => 1,
options => {
'AllowUsers' => $allow_name,
'ForceCommand' => $wrapper_command,
'PasswordAuthentication' => 'no',
'AllowTcpForwarding' => 'no',

View File

@ -125,6 +125,7 @@ eos
:type => 'User',
:name => 'nova_migration',
:options => {
'AllowUsers' => 'nova_migration',
'ForceCommand' => '/bin/nova-migration-wrapper',
'PasswordAuthentication' => 'no',
'AllowTcpForwarding' => 'no',
@ -170,6 +171,7 @@ eos
:type => 'LocalAddress 127.0.0.1,127.0.0.2 User',
:name => 'nova_migration',
:options => {
'AllowUsers' => 'nova_migration',
'ForceCommand' => '/bin/nova-migration-wrapper',
'PasswordAuthentication' => 'no',
'AllowTcpForwarding' => 'no',
@ -221,6 +223,7 @@ eos
:type => 'LocalAddress 127.0.0.1 User',
:name => 'nova_migration',
:options => {
'AllowUsers' => 'nova_migration',
'ForceCommand' => '/bin/nova-migration-wrapper',
'PasswordAuthentication' => 'no',
'AllowTcpForwarding' => 'no',
@ -294,6 +297,7 @@ eos
:type => 'User',
:name => 'nova_migration',
:options => {
'AllowUsers' => 'nova_migration',
'ForceCommand' => '/bin/true',
'PasswordAuthentication' => 'no',
'AllowTcpForwarding' => 'no',