Class: Installation::MinimalInstallation
- Inherits:
-
Object
- Object
- Installation::MinimalInstallation
- Includes:
- Singleton, Yast::Logger
- Defined in:
- src/lib/installation/minimal_installation.rb
Overview
Wrapper around minimal installation configuration.
Now supported only in autoyast
Instance Method Summary collapse
- #enabled ⇒ Object (also: #enabled?)
Instance Method Details
#enabled ⇒ Object Also known as: enabled?
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'src/lib/installation/minimal_installation.rb', line 12 def enabled return @enabled unless @enabled.nil? Yast.import "Mode" if Yast::Mode.autoinst Yast.import "AutoinstGeneral" @enabled = Yast::AutoinstGeneral.minimal_configuration? else @enabled = false end log.info "Minimal installation enabled?: #{@enabled}" @enabled end |