Add git to basic packages
Remove default user
This commit is contained in:
parent
afd770b659
commit
cc8e2f2234
6
basic.sh
6
basic.sh
@ -6,11 +6,11 @@ SOURCE_DIR=$(realpath $(dirname "${0}"))
|
|||||||
apt-get -y purge bsdmainutils dictionaries-common emacsen-common gnupg gnupg-agent iamerican ibritish ienglish-common installation-report ispell laptop-detect nano os-prober pinentry-curses task-english tasksel tasksel-data wamerican
|
apt-get -y purge bsdmainutils dictionaries-common emacsen-common gnupg gnupg-agent iamerican ibritish ienglish-common installation-report ispell laptop-detect nano os-prober pinentry-curses task-english tasksel tasksel-data wamerican
|
||||||
|
|
||||||
# Install useful packages
|
# Install useful packages
|
||||||
apt-get -y --no-install-recommends install bash-completion ca-certificates ntp openssl sudo unzip
|
apt-get -y --no-install-recommends install bash-completion ca-certificates git ntp openssl sudo unzip
|
||||||
|
|
||||||
|
|
||||||
######
|
######
|
||||||
# OpenSSH
|
# OpenSSH and user settings
|
||||||
#####
|
#####
|
||||||
|
|
||||||
# Install OpenSSH server
|
# Install OpenSSH server
|
||||||
@ -20,6 +20,8 @@ apt-get -y --no-install-recommends install openssh-server
|
|||||||
cp ${SOURCE_DIR}/basic/root/.bashrc /root/.bashrc
|
cp ${SOURCE_DIR}/basic/root/.bashrc /root/.bashrc
|
||||||
cp ${SOURCE_DIR}/basic/root/.ssh/authorized_keys /root/.ssh/authorized_keys
|
cp ${SOURCE_DIR}/basic/root/.ssh/authorized_keys /root/.ssh/authorized_keys
|
||||||
|
|
||||||
|
# Remove default user
|
||||||
|
deluser --remove-all-files user 2>/dev/null
|
||||||
|
|
||||||
#####
|
#####
|
||||||
# System boot
|
# System boot
|
||||||
|
Loading…
Reference in New Issue
Block a user