diff --git a/src/cli/one_helper/oneimage_helper.rb b/src/cli/one_helper/oneimage_helper.rb index 250138a13b..18c385967b 100644 --- a/src/cli/one_helper/oneimage_helper.rb +++ b/src/cli/one_helper/oneimage_helper.rb @@ -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 ] diff --git a/src/cli/oneimage b/src/cli/oneimage index 10faa52cb0..db9718e0bf 100755 --- a/src/cli/oneimage +++ b/src/cli/oneimage @@ -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