After installing Cloudmin with LXC support and routed network I faced the following 3 problems.
- Containers build and start successfully but weren't able to route traffic outside the host.
- I wasn't able to login via SSH terminal, it freezes after the error "stdin: is not a tty"
- I selected from Host Systems > LXC Host Systems > Host > "Store instance files in: LVM volume group" LXC however containers still uses host filesystem "/var/lib/lxc"
I managed to fix the error 1 and 2 with the following settings to the LXC container configuration file "/var/lib/lxc/mycontainer/config".
lxc.network.ipv4.gateway = 220.127.116.11
lxc.tty = 32
lxc.pts = 1024
Can anyone advice me how can I permanent add this settings at the provisioning script ?
Did I miss something with LVM Volumes or is it a cloudmin bug ?
Debian 8.7 Jessie
LXC 2.0.6 (debian backport)