我正在尝试将一些lxd容器从运行Ubuntu20.04的raspberry pi复制到运行22.04的raspberry pi。容器使用macvlan,如果我试图运行容器,将产生以下错误:
Error: Failed to start device "eth1": Failed to run: ip link add mac81f2ac4a link eth0 type macvlan mode bridge: Error: Unknown device type.看了一下lsmod,在运行20.04的pi上,我看到了macvlan模块,但没有看到22.04。已经尝试过更新和重新启动,但是没有结果。
有人有指点吗?
发布于 2022-06-22 12:03:08
简单解决方案:sudo apt install linux-modules-extra-raspi
现在可以使用macvlan模块。
https://askubuntu.com/questions/1414480
复制相似问题