Turn on SSH for Keystone for all distros.
With the previous patch that was done to enable SSH access, it was mistakingly done to be handled only in the Ubuntu case. It should always be done as SSH is always needed. This is only a problem for the backport, the change introduced in master and stable/ocata relies on the new configure_user macro which runs regardless. Change-Id: Ibef580748cc139f0ebf207609f934f1469222624 Closes-Bug: #1635795
This commit is contained in:
parent
6f971b056a
commit
5460ec1e9b
|
@ -17,14 +17,14 @@ MAINTAINER {{ maintainer }}
|
|||
] %}
|
||||
|
||||
RUN mkdir -p /var/run/sshd \
|
||||
&& chmod 0755 /var/run/sshd \
|
||||
&& chsh -s /bin/bash keystone
|
||||
&& chmod 0755 /var/run/sshd
|
||||
|
||||
{% endif %}
|
||||
{{ macros.install_packages(keystone_ssh_packages | customizable("packages")) }}
|
||||
|
||||
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
||||
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
||||
RUN chsh -s /bin/bash keystone \
|
||||
&& chmod 755 /usr/local/bin/kolla_extend_start
|
||||
|
||||
{% block keystone_ssh_footer %}{% endblock %}
|
||||
{% block footer %}{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue