From 1e666b47203b97478c4b2dcea37cef9d6ae2b6e8 Mon Sep 17 00:00:00 2001 From: Maxime Daniel Date: Fri, 23 Aug 2024 12:30:39 +0200 Subject: [PATCH] bootstrap: add v4 uefimg debug --- bootstrap.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bootstrap.py b/bootstrap.py index 7466f5f..c18b000 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -498,6 +498,13 @@ def ipxe_release_farmer_extra_kernel(release, farmer, extra, kernel): return text_reply(ipxe_script(release, farmer, extra, kernel)) +# +# v4 debug +# +@app.route('/v4/uefimg//', methods=['GET']) +def v4_uefimg_release_farmer(release, farmer): + return generic_image_generator(release, farmer, "", "mkuefimg.sh", "uefimg.img", "uefiusb-%s.img" % release, None, "v4") + @app.route('/v4/ipxe///', methods=['GET']) def v4_ipxe_release_farmer_extra(release, farmer, extra): print("[+] v4 / release: %s, network: %s, extra: %s" % (release, farmer, extra))