mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Feature #3907: Remove FSTYPE from the CLI
This commit is contained in:
1 parent
047e8d8285
commit
a1adb24bbc
2 files changed
+1
-16
No files matched your search
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user