aboutsummaryrefslogtreecommitdiff
path: root/docker/multipathd
diff options
context:
space:
mode:
Diffstat (limited to 'docker/multipathd')
-rw-r--r--docker/multipathd/Dockerfile.j23
-rw-r--r--docker/multipathd/extend_start.sh2
2 files changed, 5 insertions, 0 deletions
diff --git a/docker/multipathd/Dockerfile.j2 b/docker/multipathd/Dockerfile.j2
index 60c8774c8..e2fcba2e5 100644
--- a/docker/multipathd/Dockerfile.j2
+++ b/docker/multipathd/Dockerfile.j2
@@ -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 %}
diff --git a/docker/multipathd/extend_start.sh b/docker/multipathd/extend_start.sh
new file mode 100644
index 000000000..42c145da3
--- /dev/null
+++ b/docker/multipathd/extend_start.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+modprobe dm-multipath