Hi everyone,
I just upgraded NXP's installation for DRM team from 2018.4 to 2018.10. I changed my default LXC folder for storage purpose and when I was at 2018.4, there was a constant.py file in /usr/lib/python3/dist-packages/lava_dispatcher/utils in order to make LAVA know where are located LXC containers. In 2018.10 release, this file doesn't exist anymore, so I'd like to know how I can specify to LAVA the correct path to LXC containers.
Best regards, Axel Le Bourhis
On Tue, 6 Nov 2018 at 14:59, Axel Lebourhis axel.lebourhis@linaro.org wrote:
Hi everyone,
I just upgraded NXP's installation for DRM team from 2018.4 to 2018.10. I changed my default LXC folder for storage purpose and when I was at 2018.4, there was a constant.py file in /usr/lib/python3/dist-packages/lava_dispatcher/utils in order to make LAVA know where are located LXC containers.
Avoid making code changes for these kinds of settings. Constants and settings can be modified in configuration files. There is no need to alter anything in /usr/lib/python3/dist-packages/lava* - any change there will always be undone at the next package upgrade.
https://git.lavasoftware.org/lava/lava/blob/master/etc/dispatcher.yaml#L13
So on a per-worker basis, you can set the LXC_PATH
This support is covered under simple administration in the LAVA help: https://master.lavasoftware.org/static/docs/v2/simple-admin.html#lava-server
In 2018.10 release, this file doesn't exist anymore, so I'd like to know how I can specify to LAVA the correct path to LXC containers.
Best regards, Axel Le Bourhis
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
lava-users@lists.lavasoftware.org