Class: Bootloader::AutoinstProfile::PasswordSection

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

Overview

This class represents an AutoYaST section within a one

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#encryptedString?

Returns if value attribute is encrypted it is set to "true". not encrypted in other cases.

Returns:

  • (String, nil)

    if value attribute is encrypted it is set to "true". not encrypted in other cases



# File 'src/lib/bootloader/autoinst_profile/password_section.rb', line 41

#unrestrictedString?

Returns password is unrestricted if set to "false".

Returns:

  • (String, nil)

    password is unrestricted if set to "false"

See Also:

  • Grub2Pwd#unrestricted


# File 'src/lib/bootloader/autoinst_profile/password_section.rb', line 45

#valueString

Returns password value.

Returns:

  • (String)

    password value



# File 'src/lib/bootloader/autoinst_profile/password_section.rb', line 38

Class Method Details

.attributesObject



28
29
30
31
32
33
34
# File 'src/lib/bootloader/autoinst_profile/password_section.rb', line 28

def self.attributes
  [
    { name: :value },
    { name: :encrypted },
    { name: :unrestricted }
  ]
end