Commit 4e4f548e authored by Arie Peterson's avatar Arie Peterson

Copy ssl certificates from builder to initrd

parent 394e7538
......@@ -3,7 +3,7 @@
set -e
# Directory where this script is located.
scriptDir=$(dirname -- "$(readlink -f -- "$BASH_SOURCE")")
scriptDir=$(dirname -- "$(readlink -f -- "$BASH_SOURCE")")
# Copy api server binary to initrd build dir.
......@@ -24,3 +24,8 @@ versionInfoFile="${initrdDir}/etc/cryptops-client/version.txt"
cd "${scriptDir}/cryptops/cryptops-client"
git rev-parse --abbrev-ref HEAD > "${versionInfoFile}"
git log -1 >> "${versionInfoFile}"
# Copy ssl certificates from builder to initrd.
mkdir -p "${certsDir}"
cp "/etc/ssl/certs/ca-certificates.crt" "${certsDir}/"
This source diff could not be displayed because it is too large. You can view the blob instead.
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