Skip to content

Commit

Permalink
Drop old multipath handling code
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Nov 30, 2017
1 parent e7fbd58 commit c987449
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
2 changes: 0 additions & 2 deletions src/modules/AutoinstGeneral.rb
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,6 @@ def Write
Popup.Warning(_("The AutoYaST option <partition_alignment> is not supported anymore."))
end

AutoinstStorage.set_multipathing

SetSignatureHandling()

NtpSync()
Expand Down
14 changes: 0 additions & 14 deletions src/modules/AutoinstStorage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ def import_general_settings(settings)

# Override product settings from control file
Yast::ProductFeatures.SetOverlay("partitioning" => general_settings)

# Set multipathing
set_multipathing
end

# Import Fstab data
Expand Down Expand Up @@ -241,21 +238,10 @@ def handle_fstab
# Create partition plan
# @return [Boolean]
def Write
set_multipathing
return handle_fstab if @read_fstab
true
end

# set multipathing
# @return [void]
def set_multipathing
value = general_settings.fetch("start_multipath", false)
log.info "set_multipathing to '#{value}'"
# storage-ng
log.error("FIXME : Missing storage call")
# Storage.SetMultipathStartup(val)
end

publish :variable => :read_fstab, :type => "boolean"
publish :variable => :fstab, :type => "map"
publish :function => :Import, :type => "boolean (list <map>)"
Expand Down

0 comments on commit c987449

Please sign in to comment.