forked from uncloud/uncloud
[hack/vm] add self.vm dict
This commit is contained in:
parent
56565ac7f7
commit
3171ab8ccb
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,8 @@ class VM(object):
|
||||||
self.ifdown = os.path.join(self.hackprefix, "ifdown.sh")
|
self.ifdown = os.path.join(self.hackprefix, "ifdown.sh")
|
||||||
self.ifname = "uc{}".format(self.mac.to_str_format())
|
self.ifname = "uc{}".format(self.mac.to_str_format())
|
||||||
|
|
||||||
|
self.vm = {}
|
||||||
|
|
||||||
def get_qemu_args(self):
|
def get_qemu_args(self):
|
||||||
command = (
|
command = (
|
||||||
"-name {owner}-{name}"
|
"-name {owner}-{name}"
|
||||||
|
|
Loading…
Reference in a new issue