(self, localname)
Sets the Computer name for the machine.
Sets the Computer name for the machine.
Sets the Computer name for the machine .
def SetLocalName(self, localname):
    """Sets the Computer name for the machine."""
    current_localname = self.GetPathValue(
        u'/System/Network/HostNames/LocalHostName')
    if current_localname != localname:
      self.SetPathValue(u'/System/Network/HostNames/LocalHostName', localname)
def SetLocalName ( self , localname ) : current_localname = self . GetPathValue ( u'/System/Network/HostNames/LocalHostName' ) if current_localname != localname : self . SetPathValue ( u'/System/Network/HostNames/LocalHostName' , localname )