aboutsummaryrefslogtreecommitdiff
path: root/make_ami.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make_ami.sh')
-rwxr-xr-xmake_ami.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/make_ami.sh b/make_ami.sh
index 743827c..ec89fb7 100755
--- a/make_ami.sh
+++ b/make_ami.sh
@@ -156,6 +156,10 @@ install_core_packages() {
156 # anyhow. With this configuration boot messages will still display in the 156 # anyhow. With this configuration boot messages will still display in the
157 # EC2 console. 157 # EC2 console.
158 sed -Ei '/^tty\d/s/^/#/' /etc/inittab 158 sed -Ei '/^tty\d/s/^/#/' /etc/inittab
159
160 # Make it a little more obvious who is logged in by adding username to the
161 # prompt
162 sed -i "s/^export PS1='/&\\\\u@/" /etc/profile
159} 163}
160 164
161create_initfs() { 165create_initfs() {