Merge "base/deb: bump 'system' groups limit beyond Kolla ones"
This commit is contained in:
commit
6e23ef8f2a
@ -236,10 +236,14 @@ RUN {{ macros.install_packages(base_centos_yum_repo_packages | customizable("cen
|
||||
{# endif for base_package_type rpm #}
|
||||
{% elif base_package_type == 'deb' %}
|
||||
# Customize PS1 bash shell
|
||||
# enlarge 'system users' range so 'haproxy' package will not complain
|
||||
# see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939470
|
||||
# - enlarge 'system users' range so 'haproxy' package will not complain
|
||||
# see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939470
|
||||
# - enlarge 'system groups' range so 'hacluster' user added in
|
||||
# https://review.opendev.org/c/openstack/kolla/+/802671
|
||||
# can be in 'haclient' group with same high uid
|
||||
RUN cat /tmp/kolla_bashrc >> /etc/bash.bashrc \
|
||||
&& sed -i -e s/LAST_SYSTEM_UID=999/LAST_SYSTEM_UID=59999/g /etc/adduser.conf
|
||||
&& sed -i -e s/LAST_SYSTEM_UID=999/LAST_SYSTEM_UID=59999/g \
|
||||
-e s/LAST_SYSTEM_GID=999/LAST_SYSTEM_GID=59999/g /etc/adduser.conf
|
||||
|
||||
# This will prevent questions from being asked during the install
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
Loading…
x
Reference in New Issue
Block a user