Module: Avm::Instances::Base::AutoValues::System

Defined in:
lib/avm/instances/base/auto_values/system.rb

Instance Method Summary collapse

Instance Method Details

#auto_system_groupnameObject



15
16
17
18
# File 'lib/avm/instances/base/auto_values/system.rb', line 15

def auto_system_groupname
  inherited_entry_value(::Avm::Instances::EntryKeys::HOST_ID, 'system.groupname') ||
    read_entry_optional('system.username')
end

#auto_system_usernameObject



10
11
12
13
# File 'lib/avm/instances/base/auto_values/system.rb', line 10

def auto_system_username
  inherited_entry_value(::Avm::Instances::EntryKeys::HOST_ID, 'system.username') ||
    read_entry_optional('ssh.username')
end