Merge pull request #9804 from dims/revert-fix-for-k8s-nfs-related-tests

Revert "Fix for k8s nfs related tests"
This commit is contained in:
Maksym Pavlenko 2024-02-12 17:35:32 +00:00 committed by GitHub
commit d4d228926c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -250,12 +250,6 @@ fi
echo "export PATH=${CONTAINERD_HOME}/usr/local/bin/:${CONTAINERD_HOME}/usr/local/sbin/:\$PATH" > \ echo "export PATH=${CONTAINERD_HOME}/usr/local/bin/:${CONTAINERD_HOME}/usr/local/sbin/:\$PATH" > \
/etc/profile.d/containerd_env.sh /etc/profile.d/containerd_env.sh
mkdir -p /etc/systemd/system/containerd.service.d/
cat >> /etc/systemd/system/containerd.service.d/override.conf <<EOF
[Service]
LimitNOFILE=1048576
EOF
# Run extra init script for test. # Run extra init script for test.
if [ "${CONTAINERD_TEST:-"false"}" == "true" ]; then if [ "${CONTAINERD_TEST:-"false"}" == "true" ]; then
# EXTRA_INIT_SCRIPT is the name of the extra init script after being downloaded. # EXTRA_INIT_SCRIPT is the name of the extra init script after being downloaded.