Make prompt more obvious
This commit is contained in:
parent
6dbdc23272
commit
4e881f09cb
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue