mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Fix tests.
This commit is contained in:
parent
013c74f6d8
commit
9ecb058343
@ -533,7 +533,7 @@ class QemuVM(BaseNode):
|
|||||||
|
|
||||||
if not mac_address:
|
if not mac_address:
|
||||||
# use the node UUID to generate a random MAC address
|
# use the node UUID to generate a random MAC address
|
||||||
self._mac_address = "0C:%s:%s:%s:%s:00" % (self.project.id[-4:-2], self.project.id[-2:], self.id[-4:-2], self.id[-2:])
|
self._mac_address = "0c:%s:%s:%s:%s:00" % (self.project.id[-4:-2], self.project.id[-2:], self.id[-4:-2], self.id[-2:])
|
||||||
else:
|
else:
|
||||||
self._mac_address = mac_address
|
self._mac_address = mac_address
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user