Feature #3907: Remove FSTYPE from the CLI

This commit is contained in:
Jaime Melis committed 2016-05-05 20:43:40 +02:00
1 parent 047e8d8285
commit a1adb24bbc
2 files changed
+1 -16

No files matched your search

-14
View File
@@ -146,20 +146,6 @@ class OneImageHelper < OpenNebulaHelper::OneHelper
end
end
},
{
:name => "fstype",
:large => "--fstype fstype",
:description => "Type of file system to be built. This can be \n"<<
" "*31<<"any value understood by mkfs unix command.",
:format => String,
:proc => lambda do |o, options|
if !options[:type] || !(options[:type].upcase=='DATABLOCK')
[-1, "FSTYPE is only used for DATABLOCK type images"]
else
[0, o]
end
end
},
OpenNebulaHelper::DRY
]
+1 -2
View File
@@ -109,8 +109,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do
- a datablock image of 400MB:
oneimage create -d 1 --name data --type DATABLOCK --size 400 \\
--fstype ext2
oneimage create -d 1 --name data --type DATABLOCK --size 400
EOT