mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-05-05 22:58:51 +00:00
tweaking
This commit is contained in:
parent
0cab79cd35
commit
ddbb9cd02c
2 changed files with 21 additions and 9 deletions
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
plymouth --quit
|
#plymouth --quit
|
||||||
openvt -f -w -s /root/installer/wrapper.sh
|
openvt -f -w -s /root/installer/wrapper.sh
|
||||||
|
|
|
@ -13,7 +13,7 @@ d-i localechooser/preferred-locale string en_US.UTF-8
|
||||||
######################
|
######################
|
||||||
### Keyboard Selection
|
### Keyboard Selection
|
||||||
######################
|
######################
|
||||||
#d-i console-setup/ask_detect boolean true
|
d-i console-setup/ask_detect boolean true
|
||||||
#d-i keyboard-configuration/layoutcode string de
|
#d-i keyboard-configuration/layoutcode string de
|
||||||
d-i console-setup/detected note
|
d-i console-setup/detected note
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ d-i console-setup/detected note
|
||||||
#d-i netcfg/choose_interface select auto
|
#d-i netcfg/choose_interface select auto
|
||||||
#d-i netcfg/dhcp_timeout string 60
|
#d-i netcfg/dhcp_timeout string 60
|
||||||
d-i netcfg/get_hostname string t-pot
|
d-i netcfg/get_hostname string t-pot
|
||||||
|
d-i netcfg/get_domain string
|
||||||
|
|
||||||
###############
|
###############
|
||||||
### Disk Layout
|
### Disk Layout
|
||||||
|
@ -74,19 +75,28 @@ d-i mirror/http/hostname string deb.debian.org
|
||||||
d-i mirror/http/directory string /debian
|
d-i mirror/http/directory string /debian
|
||||||
d-i mirror/http/proxy string
|
d-i mirror/http/proxy string
|
||||||
|
|
||||||
|
###################
|
||||||
|
# Suite to install
|
||||||
|
###################
|
||||||
|
d-i mirror/suite string testing
|
||||||
|
#d-i mirror/udeb/suite string testing
|
||||||
|
|
||||||
|
######
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
### Skip Grub Configuration
|
### Skip Grub Configuration
|
||||||
###########################
|
###########################
|
||||||
#d-i grub-installer/confirm boolean true
|
#d-i grub-installer/confirm boolean true
|
||||||
#d-i grub-installer/only_debian boolean true
|
d-i grub-installer/only_debian boolean true
|
||||||
#d-i grub-installer/with_other_os boolean true
|
#d-i grub-installer/with_other_os boolean true
|
||||||
d-i grub-installer/skip boolean true
|
#d-i grub-installer/skip boolean true
|
||||||
|
d-i grub-installer/bootdev string default
|
||||||
d-i lilo-installer/skip boolean true
|
d-i lilo-installer/skip boolean true
|
||||||
|
|
||||||
######################
|
######################
|
||||||
### Time Configuration
|
### Time Configuration
|
||||||
######################
|
######################
|
||||||
#d-i time/zone string Europe/Berlin
|
##d-i time/zone string Europe/Berlin
|
||||||
d-i clock-setup/utc boolean true
|
d-i clock-setup/utc boolean true
|
||||||
d-i time/zone string UTC
|
d-i time/zone string UTC
|
||||||
d-i clock-setup/ntp boolean true
|
d-i clock-setup/ntp boolean true
|
||||||
|
@ -95,12 +105,14 @@ d-i clock-setup/ntp-server string debian.pool.ntp.org
|
||||||
##################
|
##################
|
||||||
### Package Groups
|
### Package Groups
|
||||||
##################
|
##################
|
||||||
tasksel tasksel/first multiselect ssh-server
|
tasksel tasksel/first multiselect standard, ssh-server
|
||||||
|
|
||||||
########################
|
########################
|
||||||
### Package Installation
|
### Package Installation
|
||||||
########################
|
########################
|
||||||
d-i pkgsel/include string apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount cockpit cockpit-docker curl debconf-utils dialog dnsutils docker.io docker-compose dstat ethtool fail2ban genisoimage git glances grc html2text htop iptables iw jq libcrack2 libltdl7 lm-sensors man mosh multitail net-tools npm ntp openssh-server openssl pass prips software-properties-common syslinux psmisc pv python-pip unzip vim wireless-tools wpasupplicant
|
d-i pkgsel/include string apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount cockpit cockpit-docker curl debconf-utils dialog dnsutils docker.io docker-compose dstat ethtool fail2ban genisoimage git glances grc html2text htop iptables iw jq libcrack2 libltdl7 lm-sensors man mosh multitail net-tools npm ntp openssh-server openssl pass prips software-properties-common syslinux psmisc pv python-pip unzip vim wireless-tools wpasupplicant
|
||||||
|
popularity-contest popularity-contest/participate boolean false
|
||||||
|
|
||||||
|
|
||||||
#################
|
#################
|
||||||
### Update Policy
|
### Update Policy
|
||||||
|
@ -117,9 +129,9 @@ d-i debian-installer/splash boolean false
|
||||||
### Post install (Grub & T-Pot Installer)
|
### Post install (Grub & T-Pot Installer)
|
||||||
#########################################
|
#########################################
|
||||||
d-i preseed/late_command string \
|
d-i preseed/late_command string \
|
||||||
in-target apt-get -y install grub-pc; \
|
#in-target apt-get -y install grub-pc; \
|
||||||
in-target grub-install --force $(debconf-get partman-auto/disk); \
|
#in-target grub-install --force $(debconf-get partman-auto/disk); \
|
||||||
in-target update-grub; \
|
#in-target update-grub; \
|
||||||
in-target git clone https://github.com/dtag-dev-sec/tpotce -b debian /opt/tpot; \
|
in-target git clone https://github.com/dtag-dev-sec/tpotce -b debian /opt/tpot; \
|
||||||
cp /target/opt/tpot/iso/installer/rc.local.install /target/etc/rc.local; \
|
cp /target/opt/tpot/iso/installer/rc.local.install /target/etc/rc.local; \
|
||||||
cp /target/opt/tpot/iso/installer -R /target/root/;
|
cp /target/opt/tpot/iso/installer -R /target/root/;
|
||||||
|
|
Loading…
Reference in a new issue