From 152faa08bf2b9528a228149d2f187f841a98490e Mon Sep 17 00:00:00 2001 From: Travis Cotton Date: Wed, 14 Feb 2024 14:45:26 -0700 Subject: [PATCH] fix optsfile line --- dnsmasq-dhcpd-dynamic/smd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsmasq-dhcpd-dynamic/smd.py b/dnsmasq-dhcpd-dynamic/smd.py index 771c04a..153167b 100644 --- a/dnsmasq-dhcpd-dynamic/smd.py +++ b/dnsmasq-dhcpd-dynamic/smd.py @@ -28,7 +28,7 @@ def main(): #this for loop writes option entries, we wouldn't need it if the BSS wasn't MAC specific for i in ei_data: if 'bmc' not in i['Description']: - print(f"tag:{i['ComponentID']},tag:IPXEBOOT,tag:!PXEBOOT,option:bootfile-name,\"http://{bss_endpoint}:27778/boot/v1/bootscript?mac={i['MACAddress']}\"", file=f) + print(f"tag:{i['ComponentID']},tag:IPXEBOOT,option:bootfile-name,\"http://{bss_endpoint}:27778/boot/v1/bootscript?mac={i['MACAddress']}\"", file=f) f.close()