ci: nerdctl: Create the containerd config

Otherwise we'll fail to configure kata-containers in the `install-kata`
step.

This is mostly needed because the nerdctl-full tarball doesn't provide a
contaienrd configuration, just the binary, as contaienrd does not
actually require a configuration file to run with the default config.

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2023-09-13 11:23:46 +02:00
parent 13968aa7f6
commit 46bc0b1c01

View File

@ -51,6 +51,11 @@ function install_dependencies() {
# Start containerd service
sudo systemctl daemon-reload
sudo systemctl start containerd
# Create the default containerd configuration
sudo mkdir -p /etc/containerd
containerd config default > sudo tee /etc/containerd/config.toml
sudo systemctl restart containerd
}
function run() {