Add nfast group to barbican images
The nfast group is needed to configure barbican to use Thales HSM devices with the PKCS#11 plugin. Change-Id: I3de8ca07a34ae63eb91fc8d83bb0676425295cbc
This commit is contained in:
parent
0f41906089
commit
e261e89192
@ -5,7 +5,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
|
||||
{% import "macros.j2" as macros with context %}
|
||||
|
||||
{{ macros.configure_user(name='barbican') }}
|
||||
{{ macros.configure_user(name='barbican', groups='nfast') }}
|
||||
|
||||
{% if install_type == 'binary' %}
|
||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||
|
@ -1130,7 +1130,11 @@ USERS = {
|
||||
'tempest-user': {
|
||||
'uid': 42480,
|
||||
'gid': 42480,
|
||||
}
|
||||
},
|
||||
'nfast-user': {
|
||||
'uid': 42481, # unused user, but we need the group for thales hsm
|
||||
'gid': 42481,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user