multipathd: modprobe dm-multipath on startup

Change-Id: I486de8b6ab2f4235bb4a21c3650f6b9e52a83b80
Co-Authored-By: Jon Bernard <jobernar@redhat.com>
Closes-bug: #1691753
This commit is contained in:
Dan Prince 2017-05-18 09:02:36 -04:00
parent 0bd1e3a84d
commit f836960b6c
2 changed files with 5 additions and 0 deletions

View File

@ -13,5 +13,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{{ macros.install_packages(multipathd_packages | customizable("packages")) }}
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start
{% block multipathd_footer %}{% endblock %}
{% block footer %}{% endblock %}

View File

@ -0,0 +1,2 @@
#!/bin/bash
modprobe dm-multipath