Class: Y2Network::Startmodes::Nfsroot

Inherits:
Y2Network::Startmode show all
Includes:
Yast::I18n
Defined in:
src/lib/y2network/startmodes/nfsroot.rb

Overview

NFS root startmode

Nearly like auto, but interfaces with this startmode will be not shut down by default. Use this mode when you use a root filesystem via network or want to avoid interface shutdown. To force a nfsroot interface down, use either wicked ifdown --force device-down <interface> or ifdown <interface> -o force.

Constant Summary

Constants inherited from Y2Network::Startmode

Y2Network::Startmode::ALIASES

Instance Attribute Summary

Attributes inherited from Y2Network::Startmode

#alias_name, #name

Instance Method Summary collapse

Methods inherited from Y2Network::Startmode

all, create

Constructor Details

#initializeNfsroot

Returns a new instance of Nfsroot.



33
34
35
36
37
# File 'src/lib/y2network/startmodes/nfsroot.rb', line 33

def initialize
  textdomain "network"

  super("nfsroot")
end

Instance Method Details

#long_descriptionObject



43
44
45
46
47
# File 'src/lib/y2network/startmodes/nfsroot.rb', line 43

def long_description
  _(
    "Started automatically at boot (mandatory)"
  )
end

#to_human_stringObject



39
40
41
# File 'src/lib/y2network/startmodes/nfsroot.rb', line 39

def to_human_string
  _("On NFSroot")
end