2017-09-26 15:15:17 +00:00
|
|
|
##############################################
|
|
|
|
### T-Pot Preseed Configuration File by mo ###
|
|
|
|
##############################################
|
|
|
|
|
|
|
|
####################
|
|
|
|
### Locale Selection
|
|
|
|
####################
|
|
|
|
#d-i debian-installer/country string DE
|
|
|
|
d-i debian-installer/language string en
|
|
|
|
d-i debian-installer/locale string en_US.UTF-8
|
|
|
|
d-i localechooser/preferred-locale string en_US.UTF-8
|
|
|
|
|
|
|
|
######################
|
|
|
|
### Keyboard Selection
|
|
|
|
######################
|
2019-01-28 23:54:34 +00:00
|
|
|
d-i console-setup/ask_detect boolean true
|
2017-09-26 15:15:17 +00:00
|
|
|
#d-i keyboard-configuration/layoutcode string de
|
|
|
|
d-i console-setup/detected note
|
|
|
|
|
|
|
|
#############################
|
|
|
|
### Unmount Active Partitions
|
|
|
|
#############################
|
|
|
|
#d-i preseed/early_command string umount /media || :
|
|
|
|
|
|
|
|
#########################
|
|
|
|
### Network Configuration
|
|
|
|
#########################
|
2019-01-30 10:44:17 +00:00
|
|
|
d-i netcfg/choose_interface select auto
|
|
|
|
d-i netcfg/dhcp_timeout string 60
|
2017-09-26 15:15:17 +00:00
|
|
|
d-i netcfg/get_hostname string t-pot
|
2019-01-28 23:54:34 +00:00
|
|
|
d-i netcfg/get_domain string
|
2017-09-26 15:15:17 +00:00
|
|
|
|
|
|
|
######################
|
|
|
|
### User Configuration
|
|
|
|
######################
|
|
|
|
d-i passwd/root-login boolean false
|
|
|
|
d-i passwd/make-user boolean true
|
|
|
|
d-i passwd/user-fullname string tsec
|
|
|
|
d-i passwd/username string tsec
|
|
|
|
d-i passwd/user-password-crypted password $1$jAw1TW8v$a2WFamxQJfpPYZmn4qJT71
|
|
|
|
d-i user-setup/encrypt-home boolean false
|
|
|
|
|
|
|
|
########################################
|
|
|
|
### Country Mirror & Proxy Configuration
|
|
|
|
########################################
|
2019-04-01 12:19:06 +00:00
|
|
|
#d-i mirror/country string manual
|
|
|
|
#d-i mirror/http/hostname string deb.debian.org
|
|
|
|
#d-i mirror/http/directory string /debian
|
|
|
|
#d-i mirror/http/proxy string
|
2017-09-26 15:15:17 +00:00
|
|
|
|
2019-01-28 23:54:34 +00:00
|
|
|
###################
|
|
|
|
# Suite to install
|
|
|
|
###################
|
2019-02-13 16:09:23 +00:00
|
|
|
#d-i mirror/suite string unstable
|
2019-02-12 11:24:42 +00:00
|
|
|
#d-i mirror/suite string testing
|
2019-01-28 23:54:34 +00:00
|
|
|
#d-i mirror/udeb/suite string testing
|
|
|
|
|
2017-09-26 15:15:17 +00:00
|
|
|
######################
|
|
|
|
### Time Configuration
|
|
|
|
######################
|
2019-02-12 11:24:42 +00:00
|
|
|
#d-i time/zone string Europe/Berlin
|
2017-09-26 15:15:17 +00:00
|
|
|
d-i clock-setup/utc boolean true
|
|
|
|
d-i time/zone string UTC
|
|
|
|
d-i clock-setup/ntp boolean true
|
2019-01-28 20:52:55 +00:00
|
|
|
d-i clock-setup/ntp-server string debian.pool.ntp.org
|
2017-09-26 15:15:17 +00:00
|
|
|
|
|
|
|
##################
|
|
|
|
### Package Groups
|
|
|
|
##################
|
2019-01-30 10:44:17 +00:00
|
|
|
tasksel tasksel/first multiselect ssh-server
|
2017-09-26 15:15:17 +00:00
|
|
|
|
|
|
|
########################
|
|
|
|
### Package Installation
|
|
|
|
########################
|
2020-12-28 10:40:19 +00:00
|
|
|
d-i pkgsel/include string apache2-utils cracklib-runtime curl dialog figlet git grc libcrack2 libpq-dev lsb-release net-tools software-properties-common toilet
|
2019-01-28 23:54:34 +00:00
|
|
|
popularity-contest popularity-contest/participate boolean false
|
|
|
|
|
2017-09-26 15:15:17 +00:00
|
|
|
#################
|
|
|
|
### Update Policy
|
|
|
|
#################
|
|
|
|
d-i pkgsel/update-policy select unattended-upgrades
|
|
|
|
|
2018-03-15 17:30:23 +00:00
|
|
|
###############
|
|
|
|
### Boot Splash
|
|
|
|
###############
|
|
|
|
d-i debian-installer/quiet boolean false
|
|
|
|
d-i debian-installer/splash boolean false
|
|
|
|
|
2017-09-26 15:15:17 +00:00
|
|
|
#########################################
|
|
|
|
### Post install (Grub & T-Pot Installer)
|
|
|
|
#########################################
|
|
|
|
d-i preseed/late_command string \
|
2022-01-13 15:34:50 +00:00
|
|
|
### DEV
|
|
|
|
in-target git clone --depth=1 https://github.com/telekom-security/tpotce -b 22.x /opt/tpot; \
|
2019-02-16 12:49:04 +00:00
|
|
|
in-target sed -i 's/allow-hotplug/auto/g' /etc/network/interfaces; \
|
2019-02-10 21:10:16 +00:00
|
|
|
#in-target apt-get -y remove exim4-base; \
|
|
|
|
#in-target apt-get -y autoremove; \
|
2018-12-07 16:50:39 +00:00
|
|
|
cp /target/opt/tpot/iso/installer/rc.local.install /target/etc/rc.local; \
|
|
|
|
cp /target/opt/tpot/iso/installer -R /target/root/;
|
2017-09-26 15:15:17 +00:00
|
|
|
|
|
|
|
##########
|
|
|
|
### Reboot
|
|
|
|
##########
|
|
|
|
d-i nobootloader/confirmation_common note
|
|
|
|
d-i finish-install/reboot_in_progress note
|
|
|
|
d-i cdrom-detect/eject boolean true
|