允许在LXC容器中循环安装文件吗?
我正在尝试在LXC容器内设置MaaS服务器。 当我导入PXE文件时,它需要能够挂载循环设备。 我在容器配置文件中设置了以下选项以允许循环安装,但是我缺少了一些东西。 lxc.cgroup.devices.allow = b 7:* rwm lxc.cgroup.devices.allow = c 10:237 rwm 我收到以下错误,因为脚本无法循环挂载文件: mount: cannot mount block device /dev/loop0 read-only Wed, 13 Nov 2013 07:26:41 +0000: failed to mount /var/lib/maas/ephemeral/precise/ephemeral/i386/20131010/disk.img Traceback (most recent call last): File "/usr/sbin/maas-import-ephemerals", line 26, in <module> main(args) File "/usr/lib/python2.7/dist-packages/provisioningserver/import_images/ephemerals_script.py", line 428, in main target.sync(source, …