meta-virtualization/recipes-containers/lxc
Xiangyu Chen 664e3573d4 lxc: adjust the lxc-test-unpriv running order
Some of lxc test cases can not full clean the system environment, that cause
lxc-test-unpriv cannot execute successfully.

Since those code in lxc are using for tests, so just adjust the cases order.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-01-19 14:29:24 +00:00
..
files lxc: adjust the lxc-test-unpriv running order 2024-01-19 14:29:24 +00:00
lxc_git.bb lxc: add distrosysconfdir option to make sure the lxc configuration in correct folder 2023-12-04 21:05:40 +00:00
README lxc: update to 5.x and meson 2022-08-25 22:55:48 -04:00

install:

Install the following packages to your image:

IMAGE_INSTALL:append = "lxc lxc-networking kernel-modules"

These will put the core lxc application and networking onto your image. No other configuration is required for a basic system.

Note: has only been tested with systemd, sysvinit patches are welcome

Note: Partially conflicts with packages such as k3s, networking will fail to start.

sample test:

% lxc-create -n test -t download -- --server us.lxd.images.canonical.com -d alpine -r 3.16 -a amd64 % lxc-start test % lxc-console test