Class: Y2Network::AutoinstProfile::HostSection

Inherits:
Installation::AutoinstProfile::SectionWithAttributes
  • Object
show all
Defined in:
src/lib/y2network/autoinst_profile/host_section.rb

Overview

This class represents an AutoYaST <host> section

Class Method Summary collapse

Class Method Details

.new_from_hashes(_hash) ⇒ HostSection

Creates an instance based on the profile representation used by the AutoYaST modules (hash with nested hashes and arrays).

Parameters:

  • _hash (Hash)

    Host section from an AutoYaST profile

Returns:



32
33
34
# File 'src/lib/y2network/autoinst_profile/host_section.rb', line 32

def self.new_from_hashes(_hash)
  new
end