Skip to content

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

Description

@conxuro

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions