ubuntu / WSL

Ubuntu WSL image build and launcher code.
MIT License
152 stars 46 forks source link

fix: More silent cloud-init runs #491

Closed CarlosNihelton closed 3 months ago

CarlosNihelton commented 3 months ago

The launcher focus is just protecting cloud-init run. Let's not print a word about it. At the surface it doesn't seem that anything is different from the original UX, except for the potentially longer setup time.

We rely on wsl-setup and motd to deliver a one-time show warning message if cloud-init reports error (recoverable or not). See: https://github.com/ubuntu/wsl-setup/pull/14 for more context about this part.

Apart from messaging, no other behaviour is changed.

Considering a condition of partial failure for cloud-init (and experience has shown there are tons of ways to go into a degraded done extended status), we move from this

image

Into this:

image


Closes UDENG-4111