Skip to content

Commit

Permalink
Merge pull request #2 from OpenCHAMI/trcotton/optsfile-update
Browse files Browse the repository at this point in the history
udpate smd.py to write optsfile with fixes
  • Loading branch information
travisbcotton authored Feb 14, 2024
2 parents dfa38d2 + d12a164 commit 75c135a
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']},67,\"http://{bss_endpoint}:27778/boot/v1/bootscript?mac={i['MACAddress']}\"", file=f)
print(f"tag:{i['ComponentID']},tag:IPXEBOOT,tag:!PXEBOOT,option:bootfile-name,\"http://{bss_endpoint}:27778/boot/v1/bootscript?mac={i['MACAddress']}\"", file=f)

f.close()

Expand Down

0 comments on commit 75c135a

Please sign in to comment.