Starting LXC Container
lxc launch ubuntu:20.04 test
Entering LXC Container
lxc exec test bash
Add host directory to container
lxc config device add test yoctodata disk source=/host/yocto/dir path=/container/yoctod/dir
Make container privileged
lxc config set quectel security.privileged true
Disable IPv6
lxc network set lxdbr0 ipv6.nat false
Attaching USB device
lxc config device add CONTAINER_NAME myphone usb vendorid=18d1 productid=4ee7 mode=0666 uid=1000 gid=1000