Revision b2a85958 lib/cmdlib.py

b/lib/cmdlib.py
4916 4916
    new_name = self.op.new_name
4917 4917
    if self.op.name_check:
4918 4918
      hostinfo = netutils.HostInfo(netutils.HostInfo.NormalizeName(new_name))
4919
      new_name = hostinfo.name
4919
      new_name = self.op.new_name = hostinfo.name
4920 4920
      if (self.op.ip_check and
4921 4921
          netutils.TcpPing(hostinfo.ip, constants.DEFAULT_NODED_PORT)):
4922 4922
        raise errors.OpPrereqError("IP %s of instance %s already in use" %

Also available in: Unified diff