diff --git a/preseed/debian/stable/preseed.cfg b/preseed/debian/stable/preseed.cfg index 73531f1..e828506 100644 --- a/preseed/debian/stable/preseed.cfg +++ b/preseed/debian/stable/preseed.cfg @@ -301,6 +301,12 @@ d-i apt-setup/local0/key string http://apt.puppetlabs.com/pubkey.gpg ## Choose packages tasksel tasksel/first multiselect ssh-server standard +## Individual additional packages to install +d-i pkgsel/include string tmux puppet zsh tftp-hpa +# Whether to upgrade packages after debootstrap. +# Allowed values: none, safe-upgrade, full-upgrade +d-i pkgsel/upgrade select full-upgrade + # Participate to Popularity Contest (disable for an unconnected server) d-i popularity-contest/participate boolean false @@ -345,5 +351,9 @@ d-i cdrom-detect/eject boolean false # This will power off the machine instead of just halting it. #d-i debian-installer/exit/poweroff boolean true -d-i preseed/late_command string apt-install zsh tmux puppet; in-target chsh -s /bin/zsh +#in-target wget -O /tmp/finish.tar.gz "https://wiki.101010.fr/lib/exe/fetch.php?media=documentation:administration_systeme:finish.tar.gz" --no-check-certificate ; \ +d-i preseed/late_command string in-target chsh -s /bin/zsh ; \ +in-target /usr/bin/tftp 129.20.27.239 -c get installer/debian/wheezy/finish.tar.gz /tmp/finish.tar.gz ; \ +in-target tar xzf /tmp/finish.tar.gz -C /tmp/ ; \ +in-target /bin/sh /tmp/finish/post.sh