Merge "Drop root for nova"
This commit is contained in:
commit
30b0439c65
@ -14,3 +14,5 @@ COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
||||
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
||||
|
||||
{{ include_footer }}
|
||||
|
||||
USER nova
|
||||
|
@ -3,6 +3,6 @@
|
||||
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
|
||||
# of the KOLLA_BOOTSTRAP variable being set, including empty.
|
||||
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
|
||||
sudo -H -u nova nova-manage db sync
|
||||
nova-manage db sync
|
||||
exit 0
|
||||
fi
|
||||
|
@ -42,3 +42,5 @@ RUN ln -s nova-base-source/* nova \
|
||||
&& chown -R nova: /etc/nova /var/log/nova /home/nova
|
||||
|
||||
{% endif %}
|
||||
|
||||
RUN usermod -a -G kolla nova
|
||||
|
@ -39,3 +39,5 @@ RUN /var/lib/kolla/venv/bin/pip install --no-cache-dir libvirt-python
|
||||
{% endif %}
|
||||
|
||||
{{ include_footer }}
|
||||
|
||||
USER nova
|
||||
|
@ -11,3 +11,5 @@ RUN yum -y install openstack-nova-conductor \
|
||||
{% endif %}
|
||||
|
||||
{{ include_footer }}
|
||||
|
||||
USER nova
|
||||
|
@ -11,3 +11,5 @@ RUN yum -y install openstack-nova-console \
|
||||
{% endif %}
|
||||
|
||||
{{ include_footer }}
|
||||
|
||||
USER nova
|
||||
|
@ -33,3 +33,5 @@ COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
||||
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
||||
|
||||
{{ include_footer }}
|
||||
|
||||
USER nova
|
||||
|
@ -21,3 +21,5 @@ RUN yum -y install initscripts \
|
||||
{% endif %}
|
||||
|
||||
{{ include_footer }}
|
||||
|
||||
USER nova
|
||||
|
@ -18,3 +18,5 @@ RUN cd /usr/share && ln -s nova-novncproxy-source/* novnc
|
||||
{% endif %}
|
||||
|
||||
{{ include_footer }}
|
||||
|
||||
USER nova
|
||||
|
@ -11,3 +11,5 @@ RUN yum -y install openstack-nova-scheduler \
|
||||
{% endif %}
|
||||
|
||||
{{ include_footer }}
|
||||
|
||||
USER nova
|
||||
|
@ -16,3 +16,5 @@ RUN cd /usr/share && ln -s nova-spicehtml5proxy-source/* spice-html5
|
||||
{% endif %}
|
||||
|
||||
{{ include_footer }}
|
||||
|
||||
USER nova
|
||||
|
Loading…
Reference in New Issue
Block a user