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:
Douglas Mendizábal 2018-12-18 16:53:31 -06:00
parent 0f41906089
commit e261e89192
2 changed files with 6 additions and 2 deletions

View File

@ -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'] %}

View File

@ -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,
},
}