Closed wilas closed 11 years ago
md5sum will be the default command.
Hmm, md5sum
doesn't exist on FreeBSD or OSX. I also think that SHA256 is a better algorithm to use anyway.
MD5 is more popular, e.g. SmartOS not provide SHA256. For a file as big as ISO image there is no different which algorithm is used, both are enough good.
I think that boot_file_checksum_cmd
made definitions less portable, because inside definitions you have to deal which cmd use. Much better is replace boot_file_checksum_cmd
by boot_file_checksum_type
and inside vbkick check available md5 or sha256 commands.
replace
boot_file_src_sha256
option byboot_file_checksum_cmd
+boot_file_src_checksum
. It should allow use other checksum commands and cryptographic algorithms.