Class: Y2Network::Startmodes::Nfsroot
- Inherits:
-
Y2Network::Startmode
- Object
- Y2Network::Startmode
- Y2Network::Startmodes::Nfsroot
- 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
Instance Attribute Summary
Attributes inherited from Y2Network::Startmode
Instance Method Summary collapse
-
#initialize ⇒ Nfsroot
constructor
A new instance of Nfsroot.
- #long_description ⇒ Object
- #to_human_string ⇒ Object
Methods inherited from Y2Network::Startmode
Constructor Details
#initialize ⇒ Nfsroot
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_description ⇒ Object
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_string ⇒ Object
39 40 41 |
# File 'src/lib/y2network/startmodes/nfsroot.rb', line 39 def to_human_string _("On NFSroot") end |