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

This commit is contained in:
Javi Fontan committed 2013-02-26 16:09:01 +01:00
1 parent 101097d0d9
commit 8fc3bbc5fd
1 file changed
+3 -1
+3 -1
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')