@ -74,7 +74,7 @@ class Node extends CPHPDatabaseRecordClass
public function GetHostname()
{
return $this->ssh->RunCommandCached("hostname2", true)->stdout;
return $this->ssh->RunCommandCached("hostname", true)->stdout;
}
@ -14,17 +14,6 @@ $settings['master_pubkey'] = "/etc/cvm/key.pub";
$sNode = new Node(1);
try
var_dump($sNode->sRealHostname);
catch (Exception $e)
echo("An exception occurred.");
?>