Make prompt more obvious

This commit is contained in:
Mike Crute 2017-12-26 04:07:50 +00:00
parent 6dbdc23272
commit 4e881f09cb
1 changed files with 4 additions and 0 deletions

View File

@ -156,6 +156,10 @@ install_core_packages() {
# anyhow. With this configuration boot messages will still display in the
# EC2 console.
sed -Ei '/^tty\d/s/^/#/' /etc/inittab
# Make it a little more obvious who is logged in by adding username to the
# prompt
sed -i "s/^export PS1='/&\\\\u@/" /etc/profile
}
create_initfs() {