summaryrefslogtreecommitdiff
path: root/ironic_python_agent/api/controllers/v1/command.py
diff options
context:
space:
mode:
authorHarald Jensås <hjensas@redhat.com>2023-05-03 15:02:51 +0200
committerHarald Jensås <hjensas@redhat.com>2023-05-03 21:31:23 +0200
commite7a048ecbeb0365725c5675eadb0834fd6feabf4 (patch)
treec8b244048c2e658d934fbd2cf5c6170b731b5359 /ironic_python_agent/api/controllers/v1/command.py
parentf37ea85a2765a9fac580dc031bcf16b3a4e45d98 (diff)
downloadironic-python-agent-e7a048ecbeb0365725c5675eadb0834fd6feabf4.tar.gz
Add support for CentOS SUM files
The CentOS Stream SUM files uses format: # FILENAME: <size> bytes ALGORITHM (FILENAME) = CHECKSUM Compared to the more common format: CHECKSUM *FILE_A CHECKSUM FILE_B Use regular expressions to check for filename both in the middle with parentheses and at the end. Similarly look for valid checksums at beginning or end of line. Also look for know checsum patterns in case file only contain the checksum iteself. Change-Id: I9e49c1a6c66e51a7b884485f0bcaf7f1802bda33
Diffstat (limited to 'ironic_python_agent/api/controllers/v1/command.py')
0 files changed, 0 insertions, 0 deletions