add netcat and OpenSSH server to DietPi installation

This commit is contained in:
openoms 2019-02-03 12:12:59 +00:00
parent b0467a8032
commit 4783a1ae65
3 changed files with 19 additions and 2 deletions

View File

@ -110,7 +110,9 @@ if [ "${baseImage}" = "dietpi" ]; then
#to display hex codes
sudo apt install -y xxd
# setuptools needed for Nyx
sudo pip install setuptools
sudo pip install setuptools
# netcat for 00infoBlitz.sh
sudo apt install -y netcat
fi

View File

@ -70,8 +70,11 @@ AUTO_SETUP_GLOBAL_PASSWORD=dietpi
#AUTO_SETUP_INSTALL_SOFTWARE_ID=44 #will install Bittorrent transmission
# install fail2ban
AUTO_SETUP_INSTALL_SOFTWARE_ID=73
# install openssh client
# install OpenSSH Client
AUTO_SETUP_INSTALL_SOFTWARE_ID=0
# install OpenSSH Server
AUTO_SETUP_INSTALL_SOFTWARE_ID=105
# DietPi-Software Choice System

View File

@ -97,6 +97,18 @@ DietPi-Automation settings, applied on the 1st boot of DietPi, ONCE
Sample:
https://github.com/Fourdee/DietPi/blob/master/dietpi.txt
### DietPi-Software to automatically install.
Requires `AUTO_SETUP_AUTOMATED=1 `
For a list of software index's (ID's), run '/DietPi/dietpi/dietpi-software list'
No limit on number entries, add as many as you need and uncomment the line.
DietPi will automatically install all pre-reqs (eg: ALSA/XSERVER for desktops etc)
>install fail2ban
AUTO_SETUP_INSTALL_SOFTWARE_ID=73
install OpenSSH Client
AUTO_SETUP_INSTALL_SOFTWARE_ID=0
install OpenSSH Server
AUTO_SETUP_INSTALL_SOFTWARE_ID=105
### Custom Script (post-networking and post-DietPi install)
Runs after DietPi installation is completed