mirror of
https://github.com/rancher/os.git
synced 2025-06-23 21:47:03 +00:00
15 lines
243 B
Bash
Executable File
15 lines
243 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -e /host/dev ]; then
|
|
mount --rbind /host/dev /dev
|
|
fi
|
|
|
|
CA_BASE=/etc/ssl/certs/ca-certificates.crt.rancher
|
|
CA=/etc/ssl/certs/ca-certificates.crt
|
|
|
|
if [[ -e ${CA_BASE} && ! -e ${CA} ]]; then
|
|
cp $CA_BASE $CA
|
|
fi
|
|
|
|
exec "$@"
|