Class: Yast::InstallInfConvertor
- Inherits:
-
Object
- Object
- Yast::InstallInfConvertor
- Includes:
- I18n, Logger, Singleton, Yast
- Defined in:
- src/lib/network/install_inf_convertor.rb
Defined Under Namespace
Classes: InstallInf
Constant Summary
Constants included from Yast
DNS, Host, Lan, LanItems, NetHwDetection, Routing
Instance Method Summary collapse
-
#AllowUdevModify ⇒ Object
Reports if user asked for using biosdevname pernament device names.
-
#initialize ⇒ InstallInfConvertor
constructor
A new instance of InstallInfConvertor.
- #write_netconfig ⇒ Object
Methods included from Yast
#lan_summary, #load_hosts, #settings
Constructor Details
#initialize ⇒ InstallInfConvertor
Returns a new instance of InstallInfConvertor.
40 41 42 43 44 |
# File 'src/lib/network/install_inf_convertor.rb', line 40 def initialize Yast.import "DNS" Yast.import "IP" Yast.import "Proxy" end |
Instance Method Details
#AllowUdevModify ⇒ Object
Reports if user asked for using biosdevname pernament device names
51 52 53 |
# File 'src/lib/network/install_inf_convertor.rb', line 51 def AllowUdevModify /biosdevname=1/ !~ InstallInf["Cmdline"] end |
#write_netconfig ⇒ Object
46 47 48 |
# File 'src/lib/network/install_inf_convertor.rb', line 46 def write_netconfig write_global_netconfig end |