Skip to content

Commit

Permalink
fix optsfile line
Browse files Browse the repository at this point in the history
  • Loading branch information
travisbcotton committed Feb 14, 2024
1 parent 4c1acc7 commit 152faa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsmasq-dhcpd-dynamic/smd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 152faa0

Please sign in to comment.