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

Opening an ubuntu terminal uses fedora instead #383

Closed
castrojo opened this issue Aug 7, 2023 · 5 comments · Fixed by #423 or #439
Closed

Opening an ubuntu terminal uses fedora instead #383

castrojo opened this issue Aug 7, 2023 · 5 comments · Fixed by #423 or #439
Assignees

Comments

@castrojo
Copy link
Member

castrojo commented Aug 7, 2023

When we switched to distrobox assemble it means the box isn't built until you assemble it first. Since ctrl-alt-u runs blackbox with distrobox enter ubuntu it gets confused and tried to make a fedora box named ubuntu.

Running just assemble before hand creates it and does the right thing. Maybe we should add this setup to yafti or something? open to ideas.

@castrojo castrojo linked a pull request Aug 17, 2023 that will close this issue
@bobslept
Copy link
Contributor

bobslept commented Aug 25, 2023

I would like to investigate this further. The curent fix was setting the default container to ubuntu. I now currently experience this behavior the other way around. So my distrobox enter fedora creates a ubuntu box.

Ok. We use distrobox enter in non interactive mode. Which if the box is not found always defaults to a distrobox create $container_image_default. It needs some good thinking to see what is the best way to tackle this.

@bketelsen
Copy link
Member

nice

@bobslept
Copy link
Contributor

Well upstream only liked part of the PR, but unfortunately not the part that would fix our problem. So the merged PR above will not help us in this situation.

@castrojo
Copy link
Member Author

Maybe a wrapper script or something that would let us template it out?

@bobslept
Copy link
Contributor

I will try and see if I can work something out.

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