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

#17: Add MOTD #18

Merged
merged 1 commit into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM debian:bookworm-slim AS base
WORKDIR /root

COPY build-files build-files
RUN cat build-files/.bashrc >> /root/.bashrc
RUN cat build-files/.bashrc >> /root/.bashrc && cat build-files/ansible.cfg >> /root/ansible.cfg

RUN apt update && apt install --no-install-recommends -y gnupg \
dnsutils \
Expand Down
11 changes: 10 additions & 1 deletion build-files/.bashrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
eval "$(register-python-argcomplete pipx)"

export PATH="/root/.local/bin:$PATH"
export EDITOR="vim"
export EDITOR="vim"

# motd
echo <<EOF
$HOSTNAME is ready to use!

EOF

force_color_prompt=yes
color_prompt=yes
File renamed without changes.
Loading