mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-07 01:57:59 +03:00
F #4913: Minor changes to importer
This commit is contained in:
parent
654143ced7
commit
64884a133a
@ -209,9 +209,7 @@ def self.import_templates(con_ops, options)
|
||||
rs.each {|dc, tmps|
|
||||
|
||||
if !use_defaults
|
||||
STDOUT.print "\nDo you want to process datacenter #{dc}"\
|
||||
" (y/[n])? "
|
||||
|
||||
STDOUT.print "\nDo you want to process datacenter #{dc} (y/[n])? "
|
||||
next if STDIN.gets.strip.downcase != 'y'
|
||||
end
|
||||
|
||||
@ -223,7 +221,6 @@ def self.import_templates(con_ops, options)
|
||||
tmps.each{ |t|
|
||||
template = nil
|
||||
template_copy_ref = nil
|
||||
template_xml = nil
|
||||
|
||||
if !use_defaults
|
||||
STDOUT.print "\n * VM Template found:\n"\
|
||||
|
Loading…
x
Reference in New Issue
Block a user