diff options
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/utils/qemurunner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 4b74337652..992fff9370 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py | |||
@@ -290,7 +290,7 @@ class QemuRunner: | |||
290 | self.logger.debug("qemu cmdline used:\n{}".format(cmdline)) | 290 | self.logger.debug("qemu cmdline used:\n{}".format(cmdline)) |
291 | except (IndexError, ValueError): | 291 | except (IndexError, ValueError): |
292 | # Try to get network configuration from runqemu output | 292 | # Try to get network configuration from runqemu output |
293 | match = re.match(r'.*Network configuration: ([0-9.]+)::([0-9.]+):([0-9.]+)$.*', | 293 | match = re.match(r'.*Network configuration: (?:ip=)*([0-9.]+)::([0-9.]+):([0-9.]+)$.*', |
294 | out, re.MULTILINE|re.DOTALL) | 294 | out, re.MULTILINE|re.DOTALL) |
295 | if match: | 295 | if match: |
296 | self.ip, self.server_ip, self.netmask = match.groups() | 296 | self.ip, self.server_ip, self.netmask = match.groups() |