1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

feature #1640: show raw sched actions in onevm show --all

This commit is contained in:
Javi Fontan 2013-02-26 16:07:16 +01:00
parent 101097d0d9
commit 8fc3bbc5fd

View File

@ -400,7 +400,9 @@ class OneVMHelper < OpenNebulaHelper::OneHelper
if vm.has_elements?("/VM/USER_TEMPLATE")
puts
vm.delete_element("/VM/USER_TEMPLATE/SCHED_ACTION")
if !options[:all]
vm.delete_element("/VM/USER_TEMPLATE/SCHED_ACTION")
end
CLIHelper.print_header(str_h1 % "USER TEMPLATE",false)
puts vm.template_like_str('USER_TEMPLATE')