Add .profile and purge motd in basic configuration

This commit is contained in:
Disassembler 2018-01-11 09:16:26 +01:00
parent ed66c4b705
commit 6e6c606023
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
2 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,7 @@ apk --no-cache add docker gettext kbd-misc postfix python2 nginx
# Copy profile files and settings
mkdir /root/.ssh
mkdir -p /root/.config/htop
cp ${SOURCE_DIR}/root/.profile /root/.profile
cp ${SOURCE_DIR}/root/.ssh/authorized_keys /root/.ssh/authorized_keys
cp ${SOURCE_DIR}/root/.config/htop/htoprc /root/.config/htop/htoprc
@ -24,6 +25,7 @@ rc-update add consolefont boot
# Set legal banner with URL
cp ${SOURCE_DIR}/etc/issue.template /etc/issue.template
cp ${SOURCE_DIR}/sbin/issue-gen /sbin/issue-gen
>/etc/motd
# Configure Postfix
cp ${SOURCE_DIR}/etc/postfix/main.cf /etc/postfix/main.cf

1
basic/root/.profile Normal file
View File

@ -0,0 +1 @@
alias ll="ls -la"