accessed the mac class with the correct function
This commit is contained in:
parent
cbcaf63650
commit
5969d3b13d
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class VM(object):
|
|||
self.mac=MAC(self.config)
|
||||
self.mac.create()
|
||||
self.vm['mac'] = self.mac
|
||||
self.vm['ifname'] = "uc{}".format(self.mac.to_str_format())
|
||||
self.vm['ifname'] = "uc{}".format(self.mac.__repr__())
|
||||
|
||||
# FIXME: TODO: turn this into a string and THEN
|
||||
# .split() it later -- easier for using .format()
|
||||
|
|
Loading…
Reference in a new issue