mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-10-11 10:08:33 -04:00
Install CA certificates in initrd
This commit is contained in:
parent
0d7e0b44b8
commit
2171b9fb31
1 changed files with 10 additions and 0 deletions
|
@ -17,6 +17,11 @@ install_and_enable_unit() {
|
|||
"${systemdsystemconfdir}/${target}.wants/${unit}"
|
||||
}
|
||||
|
||||
install_path() {
|
||||
local dir="$1"; shift
|
||||
mkdir -p "${initdir}/${dir}"
|
||||
}
|
||||
|
||||
install() {
|
||||
inst_multiple \
|
||||
bash
|
||||
|
@ -60,4 +65,9 @@ install() {
|
|||
"/usr/sbin/aws-nvme-disk"
|
||||
install_and_enable_unit "aws-nvme-disk.service" \
|
||||
"basic.target"
|
||||
|
||||
# TLS / CA store in initramfs
|
||||
install_path /etc/pki/tls/certs/
|
||||
inst_simple /etc/pki/tls/certs/ca-bundle.crt \
|
||||
/etc/pki/tls/certs/ca-bundle.crt
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue