Skip to content

Commit

Permalink
bootstrap: stick to old python syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
maxux committed Aug 23, 2024
1 parent b92459e commit 7fd6dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ def ipxe_script(release, farmer, extra="", source=None, version="v3"):
kernel_secure = "%s://%s/kernel/%s" % (get_protocol(), request.host, source)
kernel_simple = "http://unsecure.%s/kernel/%s" % (request.host, source)

chain = f"nomodeset version={version} runmode={release} panic=7200"
chain = "nomodeset version=%s runmode=%s panic=7200" % (version, release)

if farmer:
chain += f" farmer_id={farmer}"
chain += f" farmer_id=%s" % farmer

if extra:
chain += " " + extra.replace("___", "/")
Expand Down

0 comments on commit 7fd6dce

Please sign in to comment.