set default pub0 mac address to 8A:32:CD:E4:EE:11
This commit is contained in:
parent
2beb0a36a1
commit
aeea2cda26
|
@ -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=8A:32:CD:E4:EE:11,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