Class: Yast::InstallInfConvertor

Inherits:
Object
  • Object
show all
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

Methods included from Yast

#lan_summary, #load_hosts, #settings

Constructor Details

#initializeInstallInfConvertor


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

#AllowUdevModifyObject

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_netconfigObject


46
47
48
# File 'src/lib/network/install_inf_convertor.rb', line 46

def write_netconfig
  write_global_netconfig
end