DietPi-Automation

Everything you need to download and start your DietPi experience.
Locked
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

DietPi-Automation

Post 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
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal, Bitcoin or become a DietPi patron.

User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: DietPi-Automation

Post 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.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal, Bitcoin or become a DietPi patron.

Locked