mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-25 23:21:29 +03:00
feature #1055: Reset command for onevm
This commit is contained in:
parent
84813377a4
commit
626ae2cf35
@ -195,6 +195,18 @@ cmd=CommandParser::CmdParser.new(ARGV) do
|
||||
end
|
||||
end
|
||||
|
||||
reset_desc = <<-EOT.unindent
|
||||
Resets the given VM
|
||||
|
||||
States: RUNNING
|
||||
EOT
|
||||
|
||||
command :reset, reset_desc, [:range,:vmid_list] do
|
||||
helper.perform_actions(args[0],options,"resetting") do |vm|
|
||||
vm.reset
|
||||
end
|
||||
end
|
||||
|
||||
deploy_desc = <<-EOT.unindent
|
||||
Deploys the given VM in the specified Host. This command forces the
|
||||
deployment, in a standard installation the Scheduler is in charge
|
||||
|
Loading…
Reference in New Issue
Block a user