Module: Yast::MultipathWizardsInclude
- Defined in:
- ../../src/include/multipath/wizards.rb
Instance Method Summary (collapse)
- - (Object) initialize_multipath_wizards(include_target)
-
- (Object) MultipathAutoSequence
Whole configuration of multipath but without reading and writing.
-
- (Object) MultipathSequence
Whole configuration of multipath.
Instance Method Details
- (Object) initialize_multipath_wizards(include_target)
30 31 32 33 34 35 36 37 38 39 |
# File '../../src/include/multipath/wizards.rb', line 30 def initialize_multipath_wizards(include_target) Yast.import "UI" textdomain "multipath" Yast.import "Label" Yast.import "Sequencer" Yast.import "Wizard" Yast.import "Multipath" end |
- (Object) MultipathAutoSequence
Whole configuration of multipath but without reading and writing. For use with autoinstallation.
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
# File '../../src/include/multipath/wizards.rb', line 68 def MultipathAutoSequence # Initialization dialog caption caption = _("Multipath Configuration") # Initialization dialog contents contents = Label(_("Initializing...")) Wizard.CreateDialog Wizard.SetContentsButtons( caption, contents, "", Label.BackButton, Label.NextButton ) ret = Multipath.SummaryDialog UI.CloseDialog deep_copy(ret) end |
- (Object) MultipathSequence
Whole configuration of multipath
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File '../../src/include/multipath/wizards.rb', line 43 def MultipathSequence aliases = { "read" => [lambda { Multipath.ReadDialog }, true], "main" => [lambda { Multipath.SummaryDialog }, true], "write" => [lambda { Multipath.WriteDialog }, true] } sequence = { "ws_start" => "read", "read" => { :abort => :abort, :next => "main" }, "main" => { :abort => :abort, :next => "write" }, "write" => { :abort => :abort, :next => :next } } Wizard.CreateDialog ret = Sequencer.Run(aliases, sequence) UI.CloseDialog deep_copy(ret) end |