Revision 8681584e share/hooks/OpenNebulaVLAN.rb

View differences:

share/hooks/OpenNebulaVLAN.rb
99 99

  
100 100

  
101 101
class OpenNebulaVLAN
102
    attr_reader :vm_info, :hypervisor
102
    attr_reader :vm_info, :hypervisor, :nics
103 103

  
104 104
    def initialize(vm_tpl, hypervisor=nil)
105 105
        @vm_root = REXML::Document.new(vm_tpl).root
......
212 212
    end
213 213

  
214 214
    def ebtables(rule)
215
        system "#{CONF[:ebtables]} -A #{rule}"
215
        system("#{CONF[:ebtables]} -A #{rule}")
216 216
    end
217 217

  
218 218
    def activate

Also available in: Unified diff