diff --git a/build.sdcard/raspbianStretchDesktop.sh b/build.sdcard/raspbianStretchDesktop.sh index a55d29e75..e7554e23d 100644 --- a/build.sdcard/raspbianStretchDesktop.sh +++ b/build.sdcard/raspbianStretchDesktop.sh @@ -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 diff --git a/dietpi/boot/dietpi.txt b/dietpi/boot/dietpi.txt index 12e9cd9b4..447ee1540 100644 --- a/dietpi/boot/dietpi.txt +++ b/dietpi/boot/dietpi.txt @@ -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 diff --git a/dietpi/install_on_DietPi.md b/dietpi/install_on_DietPi.md index ee0c68015..8fbe9925f 100644 --- a/dietpi/install_on_DietPi.md +++ b/dietpi/install_on_DietPi.md @@ -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