a) I need to assign a physical network interface to a container, with type=phys, how do I enable this?
I did it manually and it works but the config file gets regenerated after restarting the container.
Is there a way to avoid this?
I added
lxc.net.0.type = phys
lxc.net.0.name = eth0
lxc.net.0.link = eth2
lxc.net.0.flags = up
lxc.net.0.ipv4.address = 0.0.0.0/24
if I make the config file immutable, then the container fails to start.
<root@pam> end task UPIDve1:00015B9C:0023DFD8:61761E8C:vzstart:101:root@pam: close (rename) atomic file '/var/lib/lxc/101/config' failed: Operation not permitted
b) I want to store my containers in plain dir:/var/lib/lxc/XX/rootfs, is this possible?
c) how can I convert an existing LXC container (dir:/var/lib/lxc/xxxxx) to proxmox?
I did it manually and it works but the config file gets regenerated after restarting the container.
Is there a way to avoid this?
I added
lxc.net.0.type = phys
lxc.net.0.name = eth0
lxc.net.0.link = eth2
lxc.net.0.flags = up
lxc.net.0.ipv4.address = 0.0.0.0/24
if I make the config file immutable, then the container fails to start.
<root@pam> end task UPIDve1:00015B9C:0023DFD8:61761E8C:vzstart:101:root@pam: close (rename) atomic file '/var/lib/lxc/101/config' failed: Operation not permitted
b) I want to store my containers in plain dir:/var/lib/lxc/XX/rootfs, is this possible?
c) how can I convert an existing LXC container (dir:/var/lib/lxc/xxxxx) to proxmox?
Last edited: