Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podman machine image decompression needs a progress bar #19240

Closed
afbjorklund opened this issue Jul 14, 2023 · 1 comment · Fixed by #19249
Closed

podman machine image decompression needs a progress bar #19240

afbjorklund opened this issue Jul 14, 2023 · 1 comment · Fixed by #19249
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. machine

Comments

@afbjorklund
Copy link
Contributor

Feature request description

There is a progress bar for the download, but not for the decompression.

Downloading VM image: fedora-coreos-38.20230709.2.0-qemu.x86_64.qcow2.xz: done  
Extracting compressed file

Even though it might take an equally long time, and could use a progressbar.

Suggest potential solution

The same progress bar should be used, also for the decompression.

It can be done, by looking at the input stream before it is fed to unxz

Have you considered any alternatives?

No response

Additional context

No response

@afbjorklund afbjorklund added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 14, 2023
@Luap99 Luap99 added the machine label Jul 14, 2023
@afbjorklund
Copy link
Contributor Author

afbjorklund commented Jul 15, 2023

$ ./bin/podman-remote machine init
Downloading VM image: fedora-coreos-38.20230709.2.0-qemu.x86_64.qcow2.xz: done  
Extracting compressed file: podman-machine-default_fedora-coreos-38.20230709.2.0-qemu.x86_64.qcow2: done  
Image resized.
Machine init complete
To start your machine run:

	podman machine start

Due to the filename, you need a pretty big console to actually see the progress bar.

An alternative would be to put the filename on a separate line, before the progress?

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Oct 18, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. machine
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants