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

show container name upon entering #4000

Merged
merged 1 commit into from
Jun 25, 2024
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
5 changes: 3 additions & 2 deletions pkg/dom0-ztools/rootfs/bin/eve
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,9 @@ case "$1" in
# Start tio
tio "$PTY"
;;
enter) # shellcheck disable=SC2086
${CTR_CMD} t exec -t --exec-id $(basename $(mktemp)) ${2:-pillar} ${3:-sh -l}
enter) PROMPT="[${2:-pillar}] \u@\h:\w\$ "
# shellcheck disable=SC2086
${CTR_CMD} t exec -t --exec-id $(basename $(mktemp)) ${2:-pillar} ${3:-/bin/sh -lc "export PS1='$PROMPT'; exec /bin/sh"}
;;
enter-user-app) [ -z "$2" ] && help
# shellcheck disable=SC2046,SC2086
Expand Down
1 change: 0 additions & 1 deletion pkg/pillar/rootfs/etc/profile.d/ns.sh

This file was deleted.

Loading