canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.76k stars 642 forks source link

Non TTY compatible output for `launch` and other long running commands #3502

Closed kilianc closed 5 months ago

kilianc commented 5 months ago

What are you trying to do?

multipass launch newvm

output:

Creating newvm  /-\|/-\|/-\|/-\|/-\| Configuring newvm  /-\|/ Starting newvm  /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/ Waiting for initialization to complete  /-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\| Launched: newvm

What's your proposed solution?

multipass launch newvm

output:

Creating newvm ...
Creating newvm ...
Waiting for initialization to complete ...
Waiting for initialization to complete ...
Launched: newvm

Additional context

Very noisy in CI or anything automated that has a non interactive interface.

georgeliao commented 5 months ago

Hi @kilianc Thanks for suggesting this. We already have an issue about it https://github.com/canonical/multipass/issues/1541. It is definitely on our road map, but meanwhile, we also have other priorities.