Class: Y2Network::Backends::Netconfig

Inherits:
Y2Network::Backend show all
Defined in:
src/lib/y2network/backends/netconfig.rb

Overview

This class represents the Netconfig backend

Instance Attribute Summary

Attributes inherited from Y2Network::Backend

#id

Instance Method Summary collapse

Methods inherited from Y2Network::Backend

all, available, #available?, by_id, #name

Constructor Details

#initializeNetconfig

Returns a new instance of Netconfig.



26
27
28
29
# File 'src/lib/y2network/backends/netconfig.rb', line 26

def initialize
  textdomain "network"
  super(:netconfig)
end

Instance Method Details

#labelObject



31
32
33
# File 'src/lib/y2network/backends/netconfig.rb', line 31

def label
  _("Traditional ifup")
end

#packagesObject



35
36
37
# File 'src/lib/y2network/backends/netconfig.rb', line 35

def packages
  ["sysconfig-netconfig"]
end