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.
질문됨 5년 전338회 조회
1개 답변
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.
답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠