mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
(cherry picked from commit 4afb89c18ca462f5a31ec21f8deea38151bea0b9)
This commit is contained in:
parent
ee7cce8922
commit
92237ed08c
@ -1250,7 +1250,12 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
helper.perform_action(args[0], options,
|
||||
'Updating VM configuration') do |vm|
|
||||
if template.empty?
|
||||
vm.info
|
||||
rc = vm.info
|
||||
|
||||
if OpenNebula.is_error?(rc)
|
||||
STDERR.puts "ERROR: #{rc.message}"
|
||||
exit(-1)
|
||||
end
|
||||
|
||||
template = vm.template_like_str('TEMPLATE', true,
|
||||
'OS | FEATURES | INPUT | '\
|
||||
|
Loading…
x
Reference in New Issue
Block a user