mirror of
https://github.com/rancher/os.git
synced 2025-07-01 01:01:48 +00:00
15 lines
243 B
Bash
15 lines
243 B
Bash
|
#!/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 "$@"
|