Add ironic sudoers file to binary packages as well
When built as binary packages Ironic conductor would
fail to start due to a new 'sudo modprobe iscsi_tcp' command
added in 05c0d6998b
Change-Id: I74ebbc2ec612e1068ac82225dc79e9ee0b6c23f4
Closes-bug: #1676466
This commit is contained in:
parent
464ca08bfe
commit
8b101b28a1
@ -31,12 +31,12 @@ RUN ln -s ironic-base-source/* ironic \
|
||||
&& chown -R ironic: /etc/ironic \
|
||||
&& sed -i 's|^exec_dirs.*|exec_dirs=/var/lib/kolla/venv/bin,/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin|g' /etc/ironic/rootwrap.conf
|
||||
|
||||
{% endif %}
|
||||
|
||||
ADD ironic_sudoers /etc/sudoers.d/kolla_ironic_sudoers
|
||||
RUN chmod 750 /etc/sudoers.d \
|
||||
&& chmod 440 /etc/sudoers.d/kolla_ironic_sudoers
|
||||
|
||||
{% endif %}
|
||||
|
||||
COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
||||
|
||||
RUN touch /usr/local/bin/kolla_ironic_extend_start \
|
||||
|
Loading…
Reference in New Issue
Block a user