mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 13:16:48 +09:00
1 parent
6f8d978bb8
commit
2e0514527f
3 files changed
+5
-5
No files matched your search
+2
-2
@@ -171,8 +171,8 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
[:file, nil], :options => CREAT_OPTIONS do
|
||||
if options[:im].nil? || options[:vm].nil?
|
||||
STDERR.puts 'Drivers are mandatory to create a host:'
|
||||
STDERR.puts '\t -i information driver'
|
||||
STDERR.puts '\t -v hypervisor driver'
|
||||
STDERR.puts "\t -i information driver"
|
||||
STDERR.puts "\t -v hypervisor driver"
|
||||
exit(-1)
|
||||
end
|
||||
|
||||
|
||||
+2
-2
@@ -164,7 +164,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
:options => CREATE_OPTIONS + OneImageHelper::TEMPLATE_OPTIONS do
|
||||
if options[:datastore].nil? && !options[:dry]
|
||||
STDERR.puts 'Datastore to save the image is mandatory: '
|
||||
STDERR.puts '\t -d datastore_id'
|
||||
STDERR.puts "\t -d datastore_id"
|
||||
exit(-1)
|
||||
end
|
||||
|
||||
@@ -484,7 +484,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
# Check user options
|
||||
unless options[:datastore]
|
||||
STDERR.puts 'Datastore to save the image is mandatory: '
|
||||
STDERR.puts '\t -d datastore_id'
|
||||
STDERR.puts "\t -d datastore_id"
|
||||
exit(-1)
|
||||
end
|
||||
|
||||
|
||||
@@ -177,7 +177,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
OneMarketPlaceAppHelper::TEMPLATE_OPTIONS do
|
||||
if options[:marketplace].nil?
|
||||
STDERR.puts 'Marketplace to save the app is mandatory: '
|
||||
STDERR.puts '\t -m marketplace_id'
|
||||
STDERR.puts "\t -m marketplace_id"
|
||||
exit(-1)
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user