mirror of
https://github.com/xcat2/confluent.git
synced 2026-11-20 01:12:25 +00:00
Also check if shim can be downloaded using tftp
This commit is contained in:
@@ -51,6 +51,7 @@ def fprint(txt):
|
||||
def tftp_works():
|
||||
try:
|
||||
subprocess.check_call(['curl', '--connect-timeout', '2', '-sf', 'tftp://localhost/confluent/x86_64/ipxe.efi', '-o', '/dev/null'])
|
||||
subprocess.check_call(['curl', '--connect-timeout', '2', '-sf', 'tftp://localhost/confluent/x86_64/ipxe-shim.efi', '-o', '/dev/null'])
|
||||
return True
|
||||
except Exception:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user