-
Notifications
You must be signed in to change notification settings - Fork 220
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
Allow specifying user shell at toolbox creation #445
Conversation
Build failed.
|
Is it some kind of normal error or did I break something? It seems that meson cannot find the go compiler. |
Hi, |
Build failed.
|
Build failed.
|
@yann-soubeyrand, thank you for the patch! I'm currently focusing on v0.1.0 that does not add any new features. When we get that out, I'll review this in-depth. |
6bb4ecd
to
4b21f5d
Compare
Build failed.
|
What's the use-case for this? Toolbox containers are so-called pet containers, and meant to be somewhat long-lived interactive command-line environments. Hence, I'd expect users to configure their default shell in the usual way. |
Hello @debarshiray, Indeed, I configure my default shell (zsh) in my toolbox container. However, I keep the system default shell on the host (bash on Fedora Silverblue). This is for several reasons: I try to avoid installing extra packages on my Silverblue host, and having a different shell on the host and inside my toolbox allows me to quickly differentiate a host shell and a toolbox shell. As I understood, you validated the idea (#413 (comment)), that's why I've worked on it ;-) |
Indeed. Not having to install extra packages on a Silverblue host is a very good reason.
Oops, my mistake. I was quickly going through the open PRs and forgot about the earlier issue. Sorry about that. |
4b21f5d
to
9b520a0
Compare
No problem ;-) I've just rebased my PR so that it applies cleanly. |
Build succeeded.
|
Hello @HarryMichal @debarshiray, is there something blocking this PR which I can act on? |
Build succeeded.
|
When creating a toolbox the user shell can be specified and this shell will be used when entering the toolbox. Signed-off-by: Yann Soubeyrand <[email protected]>
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
I suppose this needs to rebased after #813 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay!
I am going to close this pull request because it would need a complete re-write. See my comments above. However, we still want the feature, so please feel free to submit a new pull request. |
@yann-soubeyrand has a work in progress at #1037 |
When creating a toolbox the user shell can be specified and this shell will be
used when entering the toolbox.
Signed-off-by: Yann Soubeyrand [email protected]
Closes #413