Skip to content

Commit

Permalink
vsphere: template: unmount misc cgroup as its not handled by kata
Browse files Browse the repository at this point in the history
Now that we are using legacy cgroups...
kata-containers/kata-containers#4610

Fixes: confidential-containers#431
Signed-off-by: Bandan Das <bsd@redhat.com>
  • Loading branch information
whitebrandy authored and snir911 committed Dec 19, 2022
1 parent 81c5494 commit 6a46c58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vsphere/image/files/etc/systemd/system/kata-agent.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ After=network.target

[Service]
ExecStart=/usr/local/bin/kata-agent --config /etc/agent-config.toml
ExecStartPre=-umount /sys/fs/cgroup/misc
ExecStartPre=ip netns add podns
ExecStartPre=ip netns exec podns ip link set lo up
ExecStopPost=ip netns delete podns
Expand Down

0 comments on commit 6a46c58

Please sign in to comment.