preseed: Add packages and post-install archive.

This commit is contained in:
Jeremy Gardais 2015-04-01 16:24:50 +02:00
parent a874b585f9
commit fde77f4fe3
1 changed files with 11 additions and 1 deletions

View File

@ -301,6 +301,12 @@ d-i apt-setup/local0/key string http://apt.puppetlabs.com/pubkey.gpg
## Choose packages ## Choose packages
tasksel tasksel/first multiselect ssh-server standard 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) # Participate to Popularity Contest (disable for an unconnected server)
d-i popularity-contest/participate boolean false 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. # This will power off the machine instead of just halting it.
#d-i debian-installer/exit/poweroff boolean true #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