machine-to-proxmox-lxc-ct-converter
machine-to-proxmox-lxc-ct-converter copied to clipboard
No console after move to LXC
I have moved opensuse to LXC. Looks all okay, except I have no console in Proxmox for this container.
I see that it is expected be tty1(when I an sending to tty1 i see output) but no login prompts.
Any idea? Apparmor already off.
This could be the result of problems booting the lxc-container. Try the following, to get more insights:
lxc-start -n {CONTAINER_ID} -d --logfile debug.log -l debug
I already found issue. In current proxmox it connect to /dev/tty While for some reason in tty file it connect to lxc/console(not exists). So fix is like
sed -e 's/lxc///g' -i /usr/lib/systemd/system/[email protected]