SkaTeMasTer
3/7/2017 - 11:19 AM

Pi-Hole centric auto-install "dietpi.txt" to configure new install

Pi-Hole centric auto-install "dietpi.txt" to configure new install

#Modifcations to /boot/* files, will not be saved when powered on.
#Please ensure you edit from the DietPi-RamDisk location /DietPi/*

#------------------------------------------------------------------------------------------------------
# D I E T - P I
# 1st run settings
# All settings below will be applied on the 1st boot of DietPi, ONCE.
#------------------------------------------------------------------------------------------------------
# >> Networking Options -----------------------------
#If both Ethernet and Wifi are enabled, Wifi will take priority and Ethernet will be disabled.
#   1=enabled
Ethernet_Enabled=1
Wifi_Enabled=0

#Enter your Wifi details below, if applicable (Case Sensitive).
Wifi_SSID=Ring_Of_Steel
Wifi_KEY=666P
#Enter your Static Network details below, if applicable.
Use_Static=1
Static_IP=192.168.1.88
Static_Mask=255.255.255.0
Static_Gateway=192.168.1.1
Static_DNS=8.8.8.8


#Hostname
Hostname=DietPiHole

#Force ethernet speeds
#NB: This is mainly aimed towards Pine A64's which may have a HW issue that causes unstable 1Gbit link.
#	0=automatic speed | 10 = 10mbit, 100 = 100mbit etc
Ethernet_Force_Speed=0

# >> Misc Options -----------------------------------
#Size of dphys-swapfile to generate (MB)
#   0=Disabled.
Swapfile_Size=500

# >> Automation Options -----------------------------
#NB: Following options are only executed on 1st run of DietPi.

# >> Automation Options -----------------------------
#Automation Overrides for user inputs | Set these all to 1 if you want fully automated.
#   1=Automatically logs the root user in after filesystem expansion to start 1st run setup. Set to 0 if you want to install over SSH.
AUTO_AutoLogin=1
#   1=Disable GPLv2 license information
AUTO_SkipLicensePrompt=1
#   1=Reboot automatically once DietPi-Update has completed.
AUTO_DietpiSoftware_SkipUpdateRebootPrompt=1
#   1=Disables question prompts.
AUTO_DietpiSoftware_SkipQuestions=1
#   1=Disables user prompt to setup a dedicated USB drive for use on this system. Use "#Dedicated USB drive automation" below for auto setup.
AUTO_DietpiSoftware_SkipUsbDrive=1
#   0=Onscreen prompt if error occurs | 1=Ignore errors, no prompts. (logs errors to /root/DietPi-Automation.log)
AUTO_DietpiSoftware_IgnoreErrors=1

#Automated Software Installations:
#	0=Disabled
#	1=DietPi-Automation (use software lists below to select the software you require)
AUTO_Install_Index=1

#Global Password to be applied for the system
#  Affects root login password, and, all software installed by dietpi-software, that requires a password
#  eg: MySQL, Transmission, Deluge etc.
#  WARN: Passwords with the any of the following characters are not supported: \"$
#  WARN: Do NOT change this entry, after 1st run setup of DietPi has been completed. It is always scraped by dietpi-software.
AUTO_Global_Password=pi


#DietPi-Optimized Software to automatically install | Requires AUTO_Install_Index=1
#   1=install
AUTO_DietpiSoftware_Install_DESKTOP_LXDE=0
AUTO_DietpiSoftware_Install_TIGHTVNCSERVER=0
AUTO_DietpiSoftware_Install_OWNCLOUD=0
AUTO_DietpiSoftware_Install_TRANSMISSION=0
AUTO_DietpiSoftware_Install_PHPBB=0
AUTO_DietpiSoftware_Install_HIFI=0
AUTO_DietpiSoftware_Install_KODI=0
AUTO_DietpiSoftware_Install_MINIDLNA=0
AUTO_DietpiSoftware_Install_OPENTYRIAN=0
AUTO_DietpiSoftware_Install_DIETPICAM=0
AUTO_DietpiSoftware_Install_DELUGE=0
AUTO_DietpiSoftware_Install_RASPCONTROL=0
AUTO_DietpiSoftware_Install_LINUXDASH=1
AUTO_DietpiSoftware_Install_PIHOLE=1
AUTO_DietpiSoftware_Install_SUBSONIC=0
AUTO_DietpiSoftware_Install_WEAVED=0
AUTO_DietpiSoftware_Install_WEBIOPI=0
AUTO_DietpiSoftware_Install_DIETPICLOUDSHELL=0
AUTO_DietpiSoftware_Install_HAPROXY=0
AUTO_DietpiSoftware_Install_SQUEEZEBOXSERVER=0
AUTO_DietpiSoftware_Install_WORDPRESS=0
AUTO_DietpiSoftware_Install_FAIL2BAN=0
AUTO_DietpiSoftware_Install_PHPSYSINFO=0
AUTO_DietpiSoftware_Install_PHPIMAGEGALLERY=0
AUTO_DietpiSoftware_Install_AMPACHE=0
AUTO_DietpiSoftware_Install_OPENVPNSERVER=0
AUTO_DietpiSoftware_Install_LETSENCRYPT=0
AUTO_DietpiSoftware_Install_WIRINGPI=0
AUTO_DietpiSoftware_Install_RPIGPIO=0
AUTO_DietpiSoftware_Install_RPII2C=0
AUTO_DietpiSoftware_Install_WEBSERVER_LAMP=0
AUTO_DietpiSoftware_Install_WEBSERVER_LASP=0
AUTO_DietpiSoftware_Install_WEBSERVER_LEMP=0
AUTO_DietpiSoftware_Install_WEBSERVER_LESP=0
AUTO_DietpiSoftware_Install_WEBSERVER_MYADMINPHP=0

#Linux Additional Software to automatically install | Requires AUTO_Install_Index=1
#   1=install
AUTO_DietpiSoftware_Install_VIMFULL=0
AUTO_DietpiSoftware_Install_SSHCLIENT=1
# - This will be automatically mounted to /mnt/samba. Use DietPi-Config settings section in this file to enter your details (SambaClient_*)
AUTO_DietpiSoftware_Install_SMBCLIENT=1
# - This will be automatically mounted to /mnt/ftp_client. Use DietPi-Config settings section in this file to enter your details (curlftpfs_*)
AUTO_DietpiSoftware_Install_CURLFTPFS=1
AUTO_DietpiSoftware_Install_GITCLIENT=0
AUTO_DietpiSoftware_Install_BUILDESSENTIAL=0
AUTO_DietpiSoftware_Install_ALSABASE=0
AUTO_DietpiSoftware_Install_XSERVERXORG=0
AUTO_DietpiSoftware_Install_FFMPEG=0
AUTO_DietpiSoftware_Install_LOGGING_RSYSLOG=1

#DietPi-Software Choice System
#SSH Server Selection:
#	0=none
#	-1=dropbear
#	-2=opensshserver
AUTO_DietpiSoftware_SSHServerIndex=-1

#File Server Selection:
#	0=none/manual
#	-1=proftp
#	-2=samba
AUTO_DietpiSoftware_FileServerIndex=-1

#Logging Mode Selection:
#	0=none/manual
#	-1=ramlog 1h clear
#	-2=ramlog 1h save clear
#	-3=logrotate + rsyslog
AUTO_DietpiSoftware_LoggingIndex=-1

#Webserver Preference Selection:
# NB: This will get ignored, if you have manually selected any WEBSERVER_Stacks.
#	0=Apache2
#	-1=Nginx
#	-2=Lighttpd
AUTO_DietpiSoftware_WebserverIndex=-2

#DietPi-Autostart | Requires AUTO_Install_Enable=1
#   After installation is completed, which program should the system boot to?
#   0=Console 7=Console+auto root login | 1=Kodi 2=Desktops (LXDE/MATE etc) 5=DietPi-Cloudshell 6=Uae4ARM (Fastboot) 8=Uae4ARM (standard boot) 9=dxx-rebirth
AUTO_AutoStartTarget=0

#Language/Regional settings | Requires AUTO_Install_Enable=1
#   Timezone eg: Europe/London America/New_York | Full list (TZ*): https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
AUTO_Timezone=America/New_York
#   Locale eg: en_GB OR en_US etc. One entry ONLY. DietPi automatically applies .UTF-8 to your locale | Full list: cat /etc/locale.gen
AUTO_Locale=en_US
#   Keyboard Layout eg: gb us de fr
AUTO_KeyboardLayout=us

#Custom Script | Requires AUTO_Install_Enable=1
#   Allows you to automatically execute a custom script at the end of DietPi installation.
#   Option 1 = Copy your script to /boot/Automation_Custom_Script.sh and it will be executed automatically.
#   Option 2 = Host your script online, then use AUTO_CustomScriptURL=http://myweb.com/myscript.sh , it will be downloaded and executed automatically. | 0=disabled
AUTO_CustomScriptURL=0

#------------------------------------------------------------------------------------------------------
# D I E T - P I
# DietPi-Config settings.
#------------------------------------------------------------------------------------------------------
#RPi Hdmi output (if 0, sets tvservice -o and framebuffer 16x 16y 8z on boot, headless)
rpi_hdmi_output=0

#Cpu Governor | ondemand | powersave | performance | conservative
cpu_governor=interactive
cpu_usage_throttle_up=67

#Limit the max cpu frequency (Mhz) for all cores. | 0=disabled | Useful for lowering temp/power usage on your device.
cpu_max_frequency=0

#Min value 10000 microseconds (10ms)
cpu_ondemand_sampling_rate=25000

#sampling rate * down factor / 1000 = Miliseconds (40 = 1000ms when sampling rate is 25000)
cpu_ondemand_sampling_down_factor=80

#Samba Client Details (Used by DietPi-Config | Networking NAS | Samba Client)
SambaClient_ComputerName=pihole
SambaClient_ShareName=pihole_share
SambaClient_Username=admin
SambaClient_Password=one
#FTP Client Filesystem Mount (CurlFtpFs) (Used by DietPi-Config | Networking NAS | FTP Client)
curlftpfs_clientaddress=192.168.1.88
curlftpfs_clientusername=admin
curlftpfs_clientpassword=66

#NFS Client Filesystem Mount (Used by DietPi-Config | Networking NAS | NFS Client)
nfsclient_ipaddress=

#Proxy settings | System-wide proxy settings. Use dietpi-config > networking options to apply.
proxy_enabled=0
proxy_address=MyProxyServer.com
proxy_port=8080
proxy_username=
proxy_password=

#DietPi check for updates (allows dietpi to check for updates on a daily basis and boot using a <1kb file download.)
dietpi_check_for_updates=1

#NTPD Update Mode: 0=disabled | 1=boot only | 2=boot + daily | 3=boot + hourly | 4=Daemon + Drift
ntpd_update_mode=4

#Wifi Hotspot
wifi_hotspot_ssid=DietPi-HotSpot
# - minimum of 8 characters
wifi_hotspot_key=dietpihotspot
wifi_hotspot_channel=3

#WiFi country code. 2 character value (eg GB US DE JP): https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
wifi_country_code=US

#Serial Console: Set to 1 if you require a serial console during 1st run of DietPi.
serial_console_enabled=0

#Soundcard
soundcard=none

#LCD Panel addon
lcdpanel=none

#Prefer IPversion (for: apt-get) | auto (let system decide) / ipv4 (force) / ipv6 (force) | eg: force IPv4 with prefer_ipversion=ipv4
prefer_ipversion=auto

#Apt mirrors which are applied to /etc/apt/sources.list | Values here will also be applied during 1st run setup
#	Raspbian = https://www.raspbian.org/RaspbianMirrors
#	Debian = https://www.debian.org/mirror/official#list
Apt_Raspbian_Mirror=http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian
Apt_Debian_Mirror=http://ftp.debian.org/debian/

#------------------------------------------------------------------------------------------------------
# D I E T - P I
# DietPi-Software settings.
#------------------------------------------------------------------------------------------------------
#Enter your EmonCMS.org write API key here. It will be applied automatically during EmonPi/Hub installation.
# - eg: dietpi_emonhub_apikey=b4dfmk2o203mmxx93a
dietpi_emonhub_apikey=

#VNC Server Options
dietpi_vncserver_width=1280
dietpi_vncserver_height=720
dietpi_vncserver_depth=16
dietpi_vncserver_display=1
dietpi_vncserver_shared_desktop=0

#Optional username for nextcloud admin account, default is admin. Applied during installation.
dietpi_nextcloud_username=admin

#------------------------------------------------------------------------------------------------------
# D I E T - P I
# Dev settings
#------------------------------------------------------------------------------------------------------
gitbranch=testing
gitforkowner=Fourdee