From 1627b58cfc0623ff1193ab94ae61138a8cb7effa Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Wed, 1 Feb 2017 07:42:06 +0100 Subject: [PATCH] for bind mount also have to prefix device Signed-off-by: Steven Armstrong --- cdist/conf/type/__install_mount/gencode-remote | 1 + 1 file changed, 1 insertion(+) diff --git a/cdist/conf/type/__install_mount/gencode-remote b/cdist/conf/type/__install_mount/gencode-remote index 35f08e57..b2498d41 100755 --- a/cdist/conf/type/__install_mount/gencode-remote +++ b/cdist/conf/type/__install_mount/gencode-remote @@ -54,6 +54,7 @@ else printf 'mount' if [ "$type" = "bind" ]; then printf ' --bind' + device="${prefix}${device}" else printf ' -t "%s"' "$type" fi