From 47b0704555ef7f65e598142ad8a73d4059088b2f Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 5 Oct 2022 17:25:56 -0400 Subject: [PATCH] Fix bad ref in examples --- api-daemon/provisioner/examples/1-noinstall.py | 2 +- api-daemon/provisioner/examples/2-debootstrap.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api-daemon/provisioner/examples/1-noinstall.py b/api-daemon/provisioner/examples/1-noinstall.py index dceac33e..10c1631d 100644 --- a/api-daemon/provisioner/examples/1-noinstall.py +++ b/api-daemon/provisioner/examples/1-noinstall.py @@ -211,7 +211,7 @@ class VMBuilderScript(VMBuilder): schema += libvirt_schema.devices_net_interface.format( eth_macaddr=eth_macaddr, - eth_bridge=eth_bridge, + eth_bridge=network["eth_bridge"], ) network_id += 1 diff --git a/api-daemon/provisioner/examples/2-debootstrap.py b/api-daemon/provisioner/examples/2-debootstrap.py index e9e74f63..b5e07e06 100644 --- a/api-daemon/provisioner/examples/2-debootstrap.py +++ b/api-daemon/provisioner/examples/2-debootstrap.py @@ -215,7 +215,7 @@ class VMBuilderScript(VMBuilder): schema += libvirt_schema.devices_net_interface.format( eth_macaddr=eth_macaddr, - eth_bridge=eth_bridge, + eth_bridge=network["eth_bridge"], ) network_id += 1