Class: Y2Network::Wicked::ConnectionConfigWriters::Dummy

Inherits:
Base
  • Object
show all
Defined in:
src/lib/y2network/wicked/connection_config_writers/dummy.rb

Overview

This class is responsible for writing the information from a ConnectionConfig::Dummy object to the underlying system.

Instance Attribute Summary

Attributes inherited from Base

#file

Instance Method Summary collapse

Methods inherited from Base

#initialize, #write

Constructor Details

This class inherits a constructor from Y2Network::Wicked::ConnectionConfigWriters::Base

Instance Method Details

#update_file(_conn) ⇒ Object

See Also:

  • ConnectionConfigWriters::Base#update_file


29
30
31
32
33
# File 'src/lib/y2network/wicked/connection_config_writers/dummy.rb', line 29

def update_file(_conn)
  # Force the interfacetype otherwise there is no way to infer the type
  # from the file values (bsc#1129552)
  file.interfacetype = "dummy"
end