Skip to content

Commit

Permalink
Fix #34: use correct chgrp when configuring containerd service file
Browse files Browse the repository at this point in the history
  • Loading branch information
innobead committed Oct 14, 2020
1 parent 8d8a413 commit 96bcb95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install-prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function install_containerd() {
sudo groupadd containerd || true
sudo mv containerd.service /etc/systemd/system/containerd.service

chgrp_path=$(command -v chgrp || tr -d '\n')
chgrp_path=$(command -v chgrp | tr -d '\n')
sudo sed -i -E "s#(ExecStart=/usr/local/bin/containerd)#\1\nExecStartPost=${chgrp_path} containerd /run/containerd/containerd.sock#g" /etc/systemd/system/containerd.service

sudo mkdir -p /etc/containerd
Expand Down

0 comments on commit 96bcb95

Please sign in to comment.