# File lib/fog/virtual_box/models/compute/network_adapter.rb, line 30 def save with_session do |session| session_raw = session.machine.get_network_adapter(slot) # for attribute in [:adapter_type, :bandwidth_limit, :boot_priority, :cable_connected, :enabled, :host_interface, :internal_network, :line_speed, :mac_address, :nat_network, :trace_enabled, :trace_file] # session_raw.send("#{attribute}=", attributes[attribute]) # end session_raw.mac_address = mac_address session.machine.save_settings end end