From aeea2cda2651672ebc50416158f6732b7b40bb81 Mon Sep 17 00:00:00 2001 From: deflax Date: Thu, 1 Feb 2018 02:40:23 +0200 Subject: [PATCH] set default pub0 mac address to 8A:32:CD:E4:EE:11 --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 157af70..c3a9f60 100644 --- a/plugin.py +++ b/plugin.py @@ -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=8A:32:CD:E4:EE:11,bridge=' + json['net0if'] + ',tag=' + str(phy_id), description=description) except Exception as e: print(e)