mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Only create predefined set of filesystems
This commit is contained in:
parent
43962031df
commit
ce6f465b95
@ -320,7 +320,7 @@ function mkfs_command {
|
||||
OPTS="-F"
|
||||
;;
|
||||
|
||||
"reiserfs")
|
||||
"reiserfs"|"xfs")
|
||||
OPTS="-f -q"
|
||||
;;
|
||||
|
||||
@ -355,7 +355,9 @@ function mkfs_command {
|
||||
return 0
|
||||
;;
|
||||
*)
|
||||
OPTS=""
|
||||
echo ""
|
||||
echo "Filesystem '$FSTYPE' not valid." 1>&2
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user