From 6e6c60602365e37f419601e05d72c07c9a07612b Mon Sep 17 00:00:00 2001 From: Disassembler Date: Thu, 11 Jan 2018 09:16:26 +0100 Subject: [PATCH] Add .profile and purge motd in basic configuration --- basic.sh | 2 ++ basic/root/.profile | 1 + 2 files changed, 3 insertions(+) create mode 100644 basic/root/.profile diff --git a/basic.sh b/basic.sh index 85e6ca2..5419aed 100755 --- a/basic.sh +++ b/basic.sh @@ -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 diff --git a/basic/root/.profile b/basic/root/.profile new file mode 100644 index 0000000..832179c --- /dev/null +++ b/basic/root/.profile @@ -0,0 +1 @@ +alias ll="ls -la"