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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ