Skip to content

Commit

Permalink
bootstrap: fix kernel argument for usb
Browse files Browse the repository at this point in the history
  • Loading branch information
maxux committed Oct 13, 2021
1 parent 0d62f15 commit 9145975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def usb_release_farmer_extra(release, farmer, extra):
return generic_image_generator(release, farmer, extra, "mkusb.sh", "ipxe.usb", "ipxe-%s.img" % release)

@app.route('/usb/<release>/<farmer>/<extra>/<kernel>', methods=['GET'])
def usb_release_farmer_extra_kernel(release, farmer, extra):
def usb_release_farmer_extra_kernel(release, farmer, extra, kernel):
print("[+] release: %s, network: %s, extra: %s [kernel: %s]" % (release, farmer, extra, kernel))
return generic_image_generator(release, farmer, extra, "mkusb.sh", "ipxe.usb", "ipxe-%s.img" % release, kernel)

Expand Down

0 comments on commit 9145975

Please sign in to comment.