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.
asked 5 years ago332 views
1 Answer
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.
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions