Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在没有网络的情况下运行 lxc 机器。我在配置文件“lxc.network.type=empty”中写入并启动实例映像,但映像未启动(悬停,冻结)。在文档中写道:
空:将只创建环回接口。
那么,我需要做什么才能在没有网络的情况下启动机器?
我找到了答案!转到/etc/network/interfaces和注释行:
自动 eth0 iface eth0 inet dhcp