Update setup-container.sh
I don't know how those fancy tabbed here documents work obviously and I don't know if the config.toml indentation is specific. This retains the indentation. Also writing to the file in /etc now.
This commit is contained in:
parent
14a9a8c88c
commit
16ede63e50
@ -72,7 +72,7 @@ then
|
||||
# Configure containerd
|
||||
sudo mkdir -p /etc/containerd
|
||||
|
||||
cat <<- EOF | sudo tee etc/containerd/config.toml
|
||||
cat << EOF | sudo tee /etc/containerd/config.toml
|
||||
version = 2
|
||||
[plugins]
|
||||
[plugins."io.containerd.grpc.v1.cri"]
|
||||
@ -85,6 +85,7 @@ then
|
||||
SystemdCgroup = true
|
||||
EOF
|
||||
|
||||
|
||||
# Restart containerd
|
||||
sudo systemctl restart containerd
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user