crictl can import images but slow
This commit is contained in:
@@ -10,11 +10,20 @@ rc-update add devfs sysinit
|
||||
rc-update add procfs sysinit
|
||||
rc-update add sysfs sysinit
|
||||
rc-update add loopback boot
|
||||
rc-update add hostname boot
|
||||
rc-update add localmount boot
|
||||
rc-update add fancontrol default
|
||||
echo "ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 -n -l /bin/sh" >> "/etc/inittab"
|
||||
echo '[ -x /bin/bash ] && exec /bin/bash -l' >> "/root/.profile"
|
||||
echo "export PATH=\"/usr/local/bin:$PATH\"" >> "/etc/profile.d/settings.sh"
|
||||
|
||||
# We need this to ship k8s components. (coredns, kube-apiserver, etc)
|
||||
echo "##################################################### Install Local Registry"
|
||||
mkdir -p /usr/local/bin
|
||||
|
||||
apk add skopeo
|
||||
|
||||
tar zxf registry.tar.gz
|
||||
mv registry /usr/local/bin/registry
|
||||
/usr/local/bin/registry --version
|
||||
|
||||
echo "##################################################### Installing CRI-O"
|
||||
|
||||
@@ -30,6 +39,9 @@ if [ $? -ne 0 ]; then
|
||||
exit $?
|
||||
fi
|
||||
|
||||
mv /etc/cni/net.d/10-crio-bridge.conflist.disabled \
|
||||
/etc/cni/net.d/10-crio-bridge.conflist
|
||||
|
||||
echo "--------------"
|
||||
sed -i "s/default_runtime = \"crun\"/\0\ncgroup_manager = \"cgroupfs\"/g" /etc/crio/crio.conf.d/10-crio.conf
|
||||
grep cgroup_manager /etc/crio/crio.conf.d/10-crio.conf || exit 1
|
||||
|
||||
Reference in New Issue
Block a user