'Return updated IP address based on ifconfig'

def updateIP(self):

    (ifconfig, _err, _exitCode) = self.node.pexec(('ifconfig    %s' % self.name))
    ips = self._ipMatchRegex.findall(ifconfig)
    self.ip = (ips[0] if ips else None)
    return self.ip
