(self, hostname)
Sets the Hostname for the machine.
Sets the Hostname for the machine.
Sets the Hostname for the machine .
def SetHostName(self, hostname):
    """Sets the Hostname for the machine."""
    current_hostname = self.GetPathValue(u'/System/System/HostName')
    if current_hostname != hostname:
      self.SetPathValue(u'/System/System/HostName', hostname)
def SetHostName ( self , hostname ) : current_hostname = self . GetPathValue ( u'/System/System/HostName' ) if current_hostname != hostname : self . SetPathValue ( u'/System/System/HostName' , hostname )