From 78511a63a87df76db9615a97d0befdd403f66587 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 19 Jun 2017 10:29:06 +0200 Subject: [PATCH] Update __install_generate_fstab from Steven Signed-off-by: Nico Schottelius --- cdist/conf/type/__install_generate_fstab/gencode-local | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cdist/conf/type/__install_generate_fstab/gencode-local b/cdist/conf/type/__install_generate_fstab/gencode-local index d10e5b92..1fec9334 100755 --- a/cdist/conf/type/__install_generate_fstab/gencode-local +++ b/cdist/conf/type/__install_generate_fstab/gencode-local @@ -25,7 +25,7 @@ mkdir "$__object/files" # get current UUID's from target_host $__remote_exec $__target_host blkid > "$__object/files/blkid" -for object in $(find "$__global/object/__install_mount" -path "*.cdist"); do +for object in $(find "$__global/object/__install_mount" -type d -name "$__cdist_object_marker"); do device="$(cat "$object/parameter/device")" dir="$(cat "$object/parameter/dir")" prefix="$(cat "$object/parameter/prefix")" @@ -44,6 +44,11 @@ for object in $(find "$__global/object/__install_mount" -path "*.cdist"); do tmpfs) pass=0 ;; + bind) + pass=0 + type=none + options="bind,$options" + ;; *) pass=1 ;;