# Пример конфигурации LXC

Для нормальной работы k8s, pvc и устройств создем примерный вариант копфигурации контейнера:

```ini
arch: amd64
cores: 6
dev0: /dev/accel/accel0
dev1: /dev/dri/card0
dev2: /dev/dri/renderD128
features: fuse=1,nesting=1
hostname: mis3
memory: 32768
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.X.X,hwaddr=BC:24:11:FA:6F:0A,ip=192.168.X.X/24,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-149-disk-1,size=80G
searchdomain: randm.ru
swap: 0
lxc.apparmor.profile: unconfined
lxc.cap.drop: 
lxc.mount.auto: proc:rw sys:rw
lxc.mount.entry: /dev/fuse dev/fuse none bind,create=file 0 0
lxc.mount.entry: /sys/kernel/security sys/kernel/security none bind,create=file 0 0
lxc.cgroup2.devices.allow: b 7:* rwm
lxc.cgroup2.devices.allow: c 10:237 rwm
lxc.mount.entry: /dev/fuse dev/fuse none bind,create=file 0 0
lxc.mount.entry: /sys/kernel/security sys/kernel/security none bind,create=file 0 0
lxc.mount.entry: /dev/loop-control dev/loop-control none bind,create=file 0 0
lxc.mount.entry: /dev/loop0 dev/loop0 none bind,create=file 0 0
lxc.mount.entry: /dev/loop1 dev/loop1 none bind,create=file 0 0
lxc.mount.entry: /dev/loop2 dev/loop2 none bind,create=file 0 0
lxc.mount.entry: /dev/loop3 dev/loop3 none bind,create=file 0 0
lxc.mount.entry: /dev/loop4 dev/loop4 none bind,create=file 0 0
lxc.mount.entry: /dev/loop5 dev/loop5 none bind,create=file 0 0
lxc.mount.entry: /dev/loop6 dev/loop6 none bind,create=file 0 0
lxc.mount.entry: /dev/loop7 dev/loop7 none bind,create=file 0 0
```