Serial console issue

martijnk

Member
May 4, 2020
43
5
8
46
Hi,

Deploying VMs with Cloud-Init. When I access the serial console I can see the VM boot. I can logon etc. No issue at all.
But when I disconnect the serial console and then reconnect to it nothing happens. I only see 'starting serial terminal on interface serial0' Pressing enter etc, nothing works.

Now I was reading that cloud-init supports serial console only right? So I can't use VGA. I've tried but then the VM doesn't even boot and hangs after creation.

Any idea how to fix this?
 
Deploying VMs with Cloud-Init. When I access the serial console I can see the VM boot. I can logon etc. No issue at all.
But when I disconnect the serial console and then reconnect to it nothing happens. I only see 'starting serial terminal on interface serial0' Pressing enter etc, nothing works.
this sounds like there is no getty on the serial terminal inside the VM?
check the boot-loader config of the VM - see e.g.:
https://wiki.archlinux.org/index.php/working_with_the_serial_console#getty

I hope this helps!
 
  • Like
Reactions: Stoiko Ivanov
Glad you found the issue ;) - please mark the thread as 'SOLVED' - It might help others who also run into this problem

Thanks!