Page 1 of 1

DietPi-Automation

Posted: Fri Dec 18, 2015 4:08 pm
by Fourdee
What is DietPi-Automation?
DietPi automation allows users to fully automate the whole installation process, and, automatically install optimized software from the DietPi-Software catalog.
Full list of software index's available for install: viewtopic.php?p=9344#p9344

We have also added features like:
  • Pre-configure networking (WiFi/Static IP etc)
  • Download and execute custom script during installation.
  • Auto mounting Samba/FTP client shares
All the automation options are available in the dietpi.txt file on the 1st partition of the DietPi images.

Download image and edit the automation file:
  • Download the latest DietPi image: https://dietpi.com/#download
  • Write the DietPi image to your SDcard
  • Edit the file /boot/dietpi.txt to your needs
  • When you are finished:
    • Save changes, eject SD card and place into SBC device
    • Power on, watch the magic
Example: Pre-configure for WiFi:
  • Change AUTO_SETUP_NET_WIFI_ENABLED=1 to enable WiFi.
  • Enter your WiFi credentials: in the following file /boot/dietpi-wifi.txt. Use lines containing [0] to add your primary WiFi account. You can add multiple WiFi accounts using [1] to [4].
  • NB: If the above file does not exist, use the older system in dietpi.txt: Change AUTO_SETUP_NET_WIFI_SSID= and AUTO_SETUP_NET_WIFI_KEY= accordingly.
Example: Configure and run a completely automated installation:
  • Change AUTO_SETUP_AUTOMATED=1 to enable automated installation with no user inputs.
  • Find software ID's you want to install, run dietpi-software list
  • Add those entries in, eg: AUTO_SETUP_INSTALL_SOFTWARE_ID=44 will install Transmission.
Automation log:
DietPi-Automation will create a log file, containing details of the process, in the following location:

Code: Select all

/var/tmp/dietpi/logs/dietpi-firstrun-setup.log

Re: DietPi-Automation

Posted: Fri Oct 27, 2017 4:51 pm
by Fourdee
Full list of software indexs: NB: DietPi automatically installs all required pre-reqs for each software title. Therefore, there is no need to manually select requirements for install, e.g. ALSA will be installed automatically with media players, a web server stack (web server + PHP + database server) will be installed automatically with web UI applications like Nextcloud.