forked from ungleich-public/cdist
for bind mount also have to prefix device
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
e74d2be2d4
commit
1627b58cfc
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ else
|
||||||
printf 'mount'
|
printf 'mount'
|
||||||
if [ "$type" = "bind" ]; then
|
if [ "$type" = "bind" ]; then
|
||||||
printf ' --bind'
|
printf ' --bind'
|
||||||
|
device="${prefix}${device}"
|
||||||
else
|
else
|
||||||
printf ' -t "%s"' "$type"
|
printf ' -t "%s"' "$type"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue