forked from ungleich-public/cdist
pass options to mkfs without -o
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
20241a0c5c
commit
3d017abd6f
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ else
|
||||||
command="mkfs -t $type"
|
command="mkfs -t $type"
|
||||||
if [ -f "$__object/parameter/options" ]; then
|
if [ -f "$__object/parameter/options" ]; then
|
||||||
options="$(cat "$__object/parameter/options")"
|
options="$(cat "$__object/parameter/options")"
|
||||||
command="$command -o '$options'"
|
command="$command $options"
|
||||||
fi
|
fi
|
||||||
command="$command $device"
|
command="$command $device"
|
||||||
if [ -f "$__object/parameter/blocks" ]; then
|
if [ -f "$__object/parameter/blocks" ]; then
|
||||||
|
|
Loading…
Reference in a new issue