pct create 301 local:vztmpl/openwrt_24.10_rootfs.tar.gz --rootfs local-lvm:0.256 --ostype unmanaged --hostname openwrt --arch amd64 --cores 1 --memory 256 --swap 0 --unprivileged 1
where 301 is the VMID and cannot be changed once created. --ostype unmanaged
determines that this operation cannot be done in the Web Gui.
The OpenWrt container starts but ujail does not work in an unprivileged container and it prevents critical services such as dnsmasq
from running. One solution is:
opkg remove procd-ujail
or switch to a privileged container (should be preferred):
pct create 301 local:vztmpl/openwrt_24.10_rootfs.tar.gz --rootfs local-lvm:0.256 --ostype unmanaged --hostname openwrt --arch amd64 --cores 1 --memory 256 --swap 0 --unprivileged 0