Ubuntu 18.04 AMI with "ubuntu-desktop" pkg fails to connect (networking)

0

The problem can be duplicated easily with the following steps:

  • launch ubuntu 18.04 instance
  • apt install ubuntu-desktop
  • create an AMI from this instance
  • launch a new instance from AMI and fail to connect via ssh

Looking at the system log, it is obvious that the network interface ens5 was not started properly. Its status is shown as "down". See image attached.

Any ideas? The original instance still works fine in terms of networking.

Jun S.
preguntada hace 5 años338 visualizaciones
1 Respuesta
0

It turns out ifupdown pkg brought in by ubuntu-desktop is conflicting with the new netplan in some wired way, I suppose. After "apt purge ifupdown", things are fine now.

Jun S.
respondido hace 5 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas