1
0
mirror of https://github.com/rancher/os.git synced 2025-07-01 01:01:48 +00:00
os/images/01-base/entry.sh
2016-05-06 10:58:54 -07:00

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 "$@"