Revision ced96c87 share/hooks/firewall

View differences:

share/hooks/firewall
9 9
action      = ARGV[0]
10 10
template    = ARGV[1]
11 11

  
12
#vm_xml =  Base64::decode64(ARGV[0])
13
vm_xml = `onevm show -x #{template}`
12
vm_xml =  Base64::decode64(template)
14 13

  
15 14
fw = OpenNebulaFirewall.new(vm_xml)
16 15

  

Also available in: Unified diff