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

No Warewulf prompt in chroot with Debian image (and custom Debian based images) #52

Open
conxuro opened this issue Jun 7, 2024 · 0 comments

Comments

@conxuro
Copy link

conxuro commented Jun 7, 2024

Debian overrides the prompt by setting PS1 variable in /etc/bash.bashrc

A possible solution:

diff /etc/bash.bashrc /etc/bash.bashrc.orig 
20a21
> if ! [[ "${PS1}" =~ "Warewulf" ]]; then
21a23
> fi

In Ubuntu also /root/.bashrc is overriding PS1, and it will need to have additional modifications similar to /etc/bash.bashrc

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

1 participant