Update __install_generate_fstab from Steven
Signed-off-by: Nico Schottelius <nico@feder.schottelius.org>
This commit is contained in:
parent
3693cc9bbb
commit
78511a63a8
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue