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.
posta 5 anni fa338 visualizzazioni
1 Risposta
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.
con risposta 5 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande