Unattended software install

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Virgus

Unattended software install

Post by Virgus »

Hello,
DietPi first run config file is great, it allows me to have a clean new raspberry run in a few minutes.
One thing I didn't find and maybe already exists is the option to setup a subset of default packages to be installed unattended,
so that I could set them up in a file like dietpi.txt.

This would be a great time-saving option and maybe it's already available.
In case it's not please consider the idea to add this to future releases.

Thanks for sharing this great work!
V.

PS: Last but not least: do you plan to include BananaPi family to DietPi's supported boards?
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Unattended software install

Post by Fourdee »

Virgus wrote:Hello,
DietPi first run config file is great, it allows me to have a clean new raspberry run in a few minutes.
One thing I didn't find and maybe already exists is the option to setup a subset of default packages to be installed unattended,
so that I could set them up in a file like dietpi.txt.

This would be a great time-saving option and maybe it's already available.
In case it's not please consider the idea to add this to future releases.

Thanks for sharing this great work!
V.

PS: Last but not least: do you plan to include BananaPi family to DietPi's supported boards?
Hi Virgus,

A "Semi-Automated" installation already exists in DietPi. The user still needs to login to the system, however, everything else can be automated.

Before powering on your device, you can open dietpi.txt and change the settings.

The following will setup your system with OpenSSH.

Code: Select all

#Automated installs (0 = normal, 1 = dp-core , 2 = grasshopper, 3 = Pi-hole )
AUTO_Install_Index=1

#Automation Overrides
AUTO_SkipLicensePrompt=1

AUTO_DietpiSoftware_SkipUpdateRebootPrompt=1
AUTO_DietpiSoftware_SkipQuestions=1
AUTO_DietpiSoftware_SkipUsbDrive=1
# 0 = none , -1 = dropbear , -2 = opensshserver
AUTO_DietpiSoftware_SSHServerIndex=-2
# 0 = none , -1 = proftp , -2 = samba
AUTO_DietpiSoftware_FileServerIndex=0
# 0 = none noclear, -1 = ramlog 1h clear , -2 = ramlog 1h save clear , -3 = logrotate + rsyslog noclear
AUTO_DietpiSoftware_LoggingIndex=-1
BananaPi, unfortunately I do not own one, so i can't implement the image. I'll have to ask Santa ;)
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 or become a DietPi patron.
Virgus

Re: Unattended software install

Post by Virgus »

Hello again,
and thanks for your prompt reply.

I'm already using the semi-attended install which is really useful; I'm wondering if in the future an unattended install option will be available also for the other optional packets, besides remote access tools and file servers. This would be a real christmas gift ;)

Have a nice day,
V.

PS I'm sure you'll be visited by Santa this year! :D
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Unattended software install

Post by Fourdee »

Virgus wrote:I'm already using the semi-attended install which is really useful; I'm wondering if in the future an unattended install option will be available also for the other optional packets, besides remote access tools and file servers. This would be a real christmas gift ;)
If you can list all the features you require, i'll look into adding it in. eg:
- Install custom list of packages
- No user input
etc etc.
PS I'm sure you'll be visited by Santa this year! :D
Lol :)
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 or become a DietPi patron.
Post Reply