Add git to basic packages

Remove default user
This commit is contained in:
Disassembler 2017-06-30 18:05:48 +02:00
parent afd770b659
commit cc8e2f2234

View File

@ -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
# 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
@ -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/.ssh/authorized_keys /root/.ssh/authorized_keys
# Remove default user
deluser --remove-all-files user 2>/dev/null
#####
# System boot