Revision 880b838c src/vnm_mad/remotes/lib/vnm_driver.rb

View differences:

src/vnm_mad/remotes/lib/vnm_driver.rb
125 125
                        nic_conf.delete(option.strip.downcase)
126 126
                    else
127 127
                        option  = Shellwords.escape(option.strip.downcase)
128
                        value   = Shellwords.escape(value)
128
                        if value == ''
129
                            value = nil
130
                        else
131
                            value = Shellwords.escape(value)
132
                        end
129 133

  
130 134
                        nic_conf[option] = value
131 135
                    end

Also available in: Unified diff