|
@@ -287,7 +287,7 @@ class QemuRunner:
|
|
|
self.logger.debug("qemu cmdline used:\n{}".format(cmdline))
|
|
|
except (IndexError, ValueError):
|
|
|
# Try to get network configuration from runqemu output
|
|
|
- match = re.match(r'.*Network configuration: ([0-9.]+)::([0-9.]+):([0-9.]+)$.*',
|
|
|
+ match = re.match(r'.*Network configuration: (?:ip=)*([0-9.]+)::([0-9.]+):([0-9.]+)$.*',
|
|
|
out, re.MULTILINE|re.DOTALL)
|
|
|
if match:
|
|
|
self.ip, self.server_ip, self.netmask = match.groups()
|