mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 19:10:10 +00:00
Add insecure protocol check
This commit is contained in:
parent
9ecd3e3ac7
commit
6e803e9fca
@ -245,6 +245,10 @@ if __name__ == '__main__':
|
||||
uuid = rsp.get('id.uuid', {}).get('value', None)
|
||||
if uuid:
|
||||
uuidok = True
|
||||
if 'deployment.useinsecureprotocols' in rsp:
|
||||
insec = rsp.get('deployment.useinsecureprotocols', {}).get('value', None):
|
||||
if insec != 'firmware':
|
||||
emprint(f'{args.node} does not have deployment.useinsecureprotocols set to firmware. This is fine for USB boot. HTTP boot can work, but requires the deployment server CA certificates be provisioned to the UEFI first. PXE and HTTP boot without preprovisioned certificates will fail.')
|
||||
for key in rsp:
|
||||
if key.endswith('.hwaddr'):
|
||||
mac = rsp[key].get('value', None)
|
||||
|
Loading…
Reference in New Issue
Block a user