Commit ca2bb73c authored by Ophélie Gagnard's avatar Ophélie Gagnard

generation: Add parameters for SHADIR.

parent 326994f1
......@@ -10,11 +10,11 @@ cd $GIT_ROOT
source generation/00env.sh
uefi_image_name="$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -r)_${MCA_NAME_AND_VERSION}_${FLB_NAME_AND_VERSION}_${SERVER_GROUP}".efi
networkcache-upload --conf ../tls-access-to-shacache/test.cfg --file "$uefi_image_name"
sha_list=installation/images-sha512.list
hash_comment="# off + dummy ips, rd.neednet=1 LABEL=Root"
networkcache-upload --conf ../tls-access-to-shacache/test.cfg --file "$uefi_image_name" --prefix-key river-initramfs-image- "server-group=$SERVER_GROUP" "kernel-release=$(uname -r)" "mca-version=$MCA_VERSION" "flb-version=$FLB_VERSION" "plg-version=$PLG_VERSION" "upload-date=$(date)" "comment=$hash_comment"
echo $(sha512sum "$uefi_image_name" | cut -d' ' -f1) "$hash_comment" >> "$sha_list"
git add "$sha_list"
git commit -m "installation: Add an image hash."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment