fix vmcreate tag string
This commit is contained in:
parent
f15ba13249
commit
2beb0a36a1
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ def create(json):
|
||||||
memory=json['mem'],
|
memory=json['mem'],
|
||||||
scsihw='virtio-scsi-pci',
|
scsihw='virtio-scsi-pci',
|
||||||
scsi0='file=lvm:' + image_name + ',discard=on',
|
scsi0='file=lvm:' + image_name + ',discard=on',
|
||||||
net0='virtio,bridge=' + json['net0if'] + 'tag=' + str(phy_id),
|
net0='virtio,bridge=' + json['net0if'] + ',tag=' + str(phy_id),
|
||||||
description=description)
|
description=description)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
|
|
Loading…
Reference in a new issue