Update __install_generate_fstab from Steven

Signed-off-by: Nico Schottelius <nico@feder.schottelius.org>
This commit is contained in:
Nico Schottelius 2017-06-19 10:29:06 +02:00
parent 3693cc9bbb
commit 78511a63a8

View file

@ -25,7 +25,7 @@ mkdir "$__object/files"
# get current UUID's from target_host # get current UUID's from target_host
$__remote_exec $__target_host blkid > "$__object/files/blkid" $__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")" device="$(cat "$object/parameter/device")"
dir="$(cat "$object/parameter/dir")" dir="$(cat "$object/parameter/dir")"
prefix="$(cat "$object/parameter/prefix")" prefix="$(cat "$object/parameter/prefix")"
@ -44,6 +44,11 @@ for object in $(find "$__global/object/__install_mount" -path "*.cdist"); do
tmpfs) tmpfs)
pass=0 pass=0
;; ;;
bind)
pass=0
type=none
options="bind,$options"
;;
*) *)
pass=1 pass=1
;; ;;