Skip to content

Commit

Permalink
Modifying notes on checksum to reflect recent updates regarding empty…
Browse files Browse the repository at this point in the history
… checksumType field

Signed-off-by: fracappa <[email protected]>
  • Loading branch information
fracappa committed Jan 17, 2025
1 parent 9ba9b2b commit d4012dc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/user-guide/src/bmo/provisioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,7 @@ provisioning](./live-iso.md) that works differently from a normal one.

### Notes on checksums

Unlike Ironic itself, Metal3 currently assumes the checksum algorithm to be MD5
when no `checksumType` value is provided. Since more secure algorithms, such as
SHA256 or SHA512, are popular nowadays, care must be taken to provide the
correct `checksumType`. The value of `auto` will make Ironic detect the
checksum type from its length and will become the default in the next version
of the BareMetalHost API.
Setting `checksumType` to `auto` or leaving it empty prompts Ironic to automatically detect the checksum type based on its length.

The `checksum` value can be provided either as a URL or as the hash value
directly. Providing a URL is more convenient in case of public cloud images,
Expand Down

0 comments on commit d4012dc

Please sign in to comment.