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

Helpful Script for Rebuilding Distroboxen #118

Open
langdon opened this issue Aug 26, 2024 · 0 comments
Open

Helpful Script for Rebuilding Distroboxen #118

langdon opened this issue Aug 26, 2024 · 0 comments

Comments

@langdon
Copy link

langdon commented Aug 26, 2024

I created a simple script to rebuild all my distroboxen because:
a) i am starting to have quite a few that need to be refreshed on the regular
b) the distrobox enter command is the "expensive" one

The script expects you to modify it and give paths to all your ini files and then it loops through assemble create and distrobox enter for each of them. Notice the weird sleep 4 which I found necessary to give the container enough time to come up before immediately exiting. The distrobox enters are run in parallel so it is a bit expensive but the process is niced to 19 so it shouldn't hurt that much.

You can download it here and then change the paths

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@langdon and others