Skip to content

Commit

Permalink
Merge pull request #4 from OpenCHAMI/trcotton/smd-fix
Browse files Browse the repository at this point in the history
fix optsfile line
  • Loading branch information
travisbcotton authored Feb 14, 2024
2 parents 4c1acc7 + 152faa0 commit b296b91
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 b296b91

Please sign in to comment.