update install scripts and cleanup

This commit is contained in:
t3chn0m4g3
2015-01-21 17:51:32 +01:00
parent 500ef969a6
commit 3ba90dc382
4 changed files with 137 additions and 466 deletions

View File

@ -1,4 +1,4 @@
# Beehive preseed file by mo
# T-Pot CE preseed file by mo
# Setting locale
d-i debian-installer/language string en
d-i debian-installer/country string DE
@ -24,44 +24,6 @@ d-i clock-setup/utc boolean true
d-i time/zone string Europe/Berlin
d-i clock-setup/ntp boolean true
# Partitioning
# old, not working with nuc
#d-i partman-auto/init_automatically_partition select biggest_free
#d-i partman-auto/choose_recipe select atomic
#d-i partman-auto/method string regular
#d-i partman-lvm/confirm boolean true
#d-i partman-lvm/confirm_nooverwrite boolean true
#d-i partman-lvm/device_remove_lvm boolean true
#d-i partman-md/device_remove_md boolean true
#d-i partman/default_filesystem string ext4
#d-i partman-partitioning/confirm_write_new_label boolean true
#d-i partman/choose_partition select finish
#d-i partman/confirm boolean true
#d-i partman/confirm_nooverwrite boolean true
# testing, works with nuc, but trying ks file first
#d-i partman-auto/disk string /dev/sda
#d-i partman-auto/choose_recipe select atomic
#d-i partman-auto/method string regular
#d-i partman-lvm/confirm boolean true
#d-i partman-lvm/confirm_nooverwrite boolean true
#d-i partman-lvm/device_remove_lvm boolean true
#d-i partman-md/device_remove_md boolean true
#d-i partman/default_filesystem string ext4
#d-i partman-partitioning/confirm_write_new_label boolean true
#d-i partman/choose_partition select finish
#d-i partman/confirm boolean true
#d-i partman/confirm_nooverwrite boolean true
# User setup
#d-i passwd/user-fullname string admin
#d-i passwd/username string admin
# Encrypted using an MD5 hash (printf "password" | mkpasswd -s -m md5)
#d-i passwd/user-password-crypted password $1$8deB8hXr$S/5SDG559KmAPGAL62s3i1
#d-i user-setup/allow-password-weak boolean true
#d-i user-setup/encrypt-home boolean false
# Package Groups
tasksel tasksel/first multiselect ubuntu-server
@ -71,15 +33,10 @@ d-i pkgsel/include string openssh-server
# Update Policy
d-i pkgsel/update-policy select unattended-upgrades
# Grub
#d-i grub-installer/only_debian boolean true
# Post install
d-i preseed/late_command string \
cp /cdrom/tpotce/install1.sh /target/etc/rc.local; \
cp /cdrom/tpotce/install2.sh /target/root/install.sh
#mkdir -p /target/root/images/; \
#cp /cdrom/tpotce/images/* /target/root/images/
# Reboot
d-i finish-install/reboot_in_progress note