diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-06 15:49:32 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-06 23:49:24 +0000 |
| commit | a4cd368b40d5f95d759548e45475d62555b08cf5 (patch) | |
| tree | ca1d99b69d456ba103c376ce5019781aa3898ac4 | |
| parent | 4b0789cbb615c29ad7a0d072ab88b5fa81099605 (diff) | |
| download | meta-virtualization-a4cd368b40d5f95d759548e45475d62555b08cf5.tar.gz | |
k3s-host: set virtual-runc as container runtime
The k3s-host container profile had VIRTUAL-RUNTIME_container_runtime
set to empty, which meant no OCI runtime (runc or crun) was installed.
containerd's RDEPENDS uses this variable to pull in the runtime, so
k3s pods failed with "runc: executable file not found in $PATH".
Set to virtual-runc which is what k3s expects. The k3s-node profile
inherits from k3s-host so it gets the fix too.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | conf/distro/include/meta-virt-container-k3s-host.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/distro/include/meta-virt-container-k3s-host.inc b/conf/distro/include/meta-virt-container-k3s-host.inc index 166d7cf1..f92cb956 100644 --- a/conf/distro/include/meta-virt-container-k3s-host.inc +++ b/conf/distro/include/meta-virt-container-k3s-host.inc | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | include meta-virt-container.inc | 1 | include meta-virt-container.inc |
| 2 | 2 | ||
| 3 | VIRTUAL-RUNTIME_container_engine ?= "" | 3 | VIRTUAL-RUNTIME_container_engine ?= "" |
| 4 | VIRTUAL-RUNTIME_container_runtime ?= "" | 4 | VIRTUAL-RUNTIME_container_runtime ?= "virtual-runc" |
| 5 | VIRTUAL-RUNTIME_container_networking ?= "" | 5 | VIRTUAL-RUNTIME_container_networking ?= "" |
| 6 | VIRTUAL-RUNTIME_container_dns ?= "" | 6 | VIRTUAL-RUNTIME_container_dns ?= "" |
| 7 | VIRTUAL-RUNTIME_container_orchestration ?= "k3s-host" | 7 | VIRTUAL-RUNTIME_container_orchestration ?= "k3s-host" |
