commit | af394dd5f82ddc6a02ea944ce297593af3c69dbb | [log] [tgz] |
---|---|---|
author | Rodolfo Alonso Hernandez <ralonsoh@redhat.com> | Thu Nov 12 14:26:13 2020 +0000 |
committer | Rodolfo Alonso Hernandez <ralonsoh@redhat.com> | Thu Nov 12 14:26:13 2020 +0000 |
tree | 234bec59f22bbe6262e51aaa5b29a9dd064d82bd | |
parent | 1f719e26b6e23e7540e3510f20175ae58c504294 [diff] |
Implement "get_hostname" in SSH client class This method will retrieve the remote machine host name first executing "hostname" command. If that command fails, it will try to read "/etc/hostname" file. Change-Id: I2e4de049d77858e5bf11b7d0758c9494099802f7 Closes-Bug: #1903982