fix vmcreate tag string

This commit is contained in:
deflax 2018-02-01 01:54:58 +02:00
parent f15ba13249
commit 2beb0a36a1

View file

@ -75,7 +75,7 @@ def create(json):
memory=json['mem'],
scsihw='virtio-scsi-pci',
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)
except Exception as e:
print(e)