Add .profile and purge motd in basic configuration
This commit is contained in:
parent
ed66c4b705
commit
6e6c606023
2
basic.sh
2
basic.sh
@ -9,6 +9,7 @@ apk --no-cache add docker gettext kbd-misc postfix python2 nginx
|
|||||||
# Copy profile files and settings
|
# Copy profile files and settings
|
||||||
mkdir /root/.ssh
|
mkdir /root/.ssh
|
||||||
mkdir -p /root/.config/htop
|
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/.ssh/authorized_keys /root/.ssh/authorized_keys
|
||||||
cp ${SOURCE_DIR}/root/.config/htop/htoprc /root/.config/htop/htoprc
|
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
|
# Set legal banner with URL
|
||||||
cp ${SOURCE_DIR}/etc/issue.template /etc/issue.template
|
cp ${SOURCE_DIR}/etc/issue.template /etc/issue.template
|
||||||
cp ${SOURCE_DIR}/sbin/issue-gen /sbin/issue-gen
|
cp ${SOURCE_DIR}/sbin/issue-gen /sbin/issue-gen
|
||||||
|
>/etc/motd
|
||||||
|
|
||||||
# Configure Postfix
|
# Configure Postfix
|
||||||
cp ${SOURCE_DIR}/etc/postfix/main.cf /etc/postfix/main.cf
|
cp ${SOURCE_DIR}/etc/postfix/main.cf /etc/postfix/main.cf
|
||||||
|
1
basic/root/.profile
Normal file
1
basic/root/.profile
Normal file
@ -0,0 +1 @@
|
|||||||
|
alias ll="ls -la"
|
Loading…
Reference in New Issue
Block a user