We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/etc/multipath
1 parent da55e26 commit 0940be9Copy full SHA for 0940be9
modules.d/90multipath/multipathd-configure.service
@@ -12,7 +12,8 @@ ConditionPathExists=!/etc/multipath.conf
12
13
[Service]
14
Type=oneshot
15
-ExecStartPre=-/usr/bin/mkdir -p /etc/multipath/multipath.conf.d
+# mpathconf requires /etc/multipath to already exist
16
+ExecStartPre=-/usr/bin/mkdir -p /etc/multipath
17
ExecStart=/usr/sbin/mpathconf --enable
18
19
[Install]
modules.d/90multipath/multipathd.sh
@@ -1,7 +1,8 @@
1
#!/bin/sh
2
3
if [ "$(getarg rd.multipath)" = "default" ] && [ ! -e /etc/multipath.conf ]; then
4
- mkdir -p /etc/multipath/multipath.conf.d
+ # mpathconf requires /etc/multipath to already exist
5
+ mkdir -p /etc/multipath
6
mpathconf --enable
7
fi
8
0 commit comments