Ensure to install aptitude and the default empty size. Update stretch

name in comments.
This commit is contained in:
Jeremy Gardais 2017-06-23 14:57:07 +02:00
parent b39470a49d
commit 982525a236
4 changed files with 26 additions and 25 deletions

View File

@ -3,10 +3,10 @@
#################################################################### ####################################################################
## With a PXE boot: ## With a PXE boot:
#label jessie #label stretch
# menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED # menu label Debian GNU/Linux ^Stretch 64 bits WITH PRESEED
# kernel installer/debian/jessie/amd64/linux # kernel installer/debian/stretch/amd64/linux
# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 # APPEND vga=normal initrd=installer/debian/stretch/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/stretch/amd64/preseed.cfg IPAPPEND 2
@ -243,7 +243,7 @@ d-i partman-auto/expert_recipe string \
in_vg{ sys } lv_name{ lv_swap } \ in_vg{ sys } lv_name{ lv_swap } \
method{ swap } format{ } \ method{ swap } format{ } \
. \ . \
16000 100000 -1 ext4 \ 100 100 -1 ext4 \
$lvmok{ } \ $lvmok{ } \
in_vg{ sys } lv_name{ lv_free } \ in_vg{ sys } lv_name{ lv_free } \
method{ format } format{ } \ method{ format } format{ } \
@ -298,7 +298,7 @@ tasksel tasksel/first multiselect ssh-server standar
## Individual additional packages to install ## Individual additional packages to install
# tftp-hpa to download an archive (see preseed/late_command at the end of this file) # tftp-hpa to download an archive (see preseed/late_command at the end of this file)
d-i pkgsel/include string tmux puppet zsh tftp-hpa d-i pkgsel/include string aptitude tmux puppet zsh tftp-hpa
# Whether to upgrade packages after debootstrap. # Whether to upgrade packages after debootstrap.
# Allowed values: none, safe-upgrade, full-upgrade # Allowed values: none, safe-upgrade, full-upgrade
d-i pkgsel/upgrade select full-upgrade d-i pkgsel/upgrade select full-upgrade

View File

@ -3,10 +3,10 @@
#################################################################### ####################################################################
## With a PXE boot: ## With a PXE boot:
#label jessie #label stretch
# menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED # menu label Debian GNU/Linux ^Stretch 64 bits WITH PRESEED
# kernel installer/debian/jessie/amd64/linux # kernel installer/debian/stretch/amd64/linux
# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 # APPEND vga=normal initrd=installer/debian/stretch/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/stretch/amd64/preseed.cfg IPAPPEND 2
@ -234,7 +234,7 @@ d-i partman-auto/expert_recipe string \
in_vg{ sys } lv_name{ lv_swap } \ in_vg{ sys } lv_name{ lv_swap } \
method{ swap } format{ } \ method{ swap } format{ } \
. \ . \
16000 100000 -1 ext4 \ 100 100 -1 ext4 \
$lvmok{ } \ $lvmok{ } \
in_vg{ sys } lv_name{ lv_free } \ in_vg{ sys } lv_name{ lv_free } \
method{ format } format{ } \ method{ format } format{ } \
@ -289,7 +289,7 @@ tasksel tasksel/first multiselect ssh-server standar
## Individual additional packages to install ## Individual additional packages to install
# tftp-hpa to download an archive (see preseed/late_command at the end of this file) # tftp-hpa to download an archive (see preseed/late_command at the end of this file)
d-i pkgsel/include string tmux puppet zsh tftp-hpa d-i pkgsel/include string aptitude tmux puppet zsh tftp-hpa
# Whether to upgrade packages after debootstrap. # Whether to upgrade packages after debootstrap.
# Allowed values: none, safe-upgrade, full-upgrade # Allowed values: none, safe-upgrade, full-upgrade
d-i pkgsel/upgrade select full-upgrade d-i pkgsel/upgrade select full-upgrade
@ -346,7 +346,8 @@ d-i cdrom-detect/eject boolean false
d-i preseed/late_command string in-target chsh -s /bin/zsh ; \ d-i preseed/late_command string in-target chsh -s /bin/zsh ; \
umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \ umount /dev/sys/lv_free ; lvremove -f /dev/sys/lv_free ; \
in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \ in-target /bin/rmdir /mnt/free ; in-target /bin/sed -i '/lv_free/d' /etc/fstab ; \
in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \ #in-target /bin/sed -i 's/without-password/yes/g' /etc/ssh/sshd_config ; \
in-target /bin/sed -i 's/.*\(PermitRootLogin\).*/\1 yes/g' /etc/ssh/sshd_config ; \
in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \ in-target /usr/bin/tftp 129.20.203.27 -c get scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \ in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \
in-target /bin/sh /tmp/latecommand/post.sh in-target /bin/sh /tmp/latecommand/post.sh

View File

@ -3,10 +3,10 @@
#################################################################### ####################################################################
## With a PXE boot: ## With a PXE boot:
#label jessie #label stretch
# menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED # menu label Debian GNU/Linux ^Stretch 64 bits WITH PRESEED
# kernel installer/debian/jessie/amd64/linux # kernel installer/debian/stretch/amd64/linux
# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 # APPEND vga=normal initrd=installer/debian/stretch/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/stretch/amd64/preseed.cfg IPAPPEND 2
@ -234,7 +234,7 @@ d-i partman-auto/expert_recipe string \
in_vg{ sys } lv_name{ lv_swap } \ in_vg{ sys } lv_name{ lv_swap } \
method{ swap } format{ } \ method{ swap } format{ } \
. \ . \
16000 100000 -1 ext4 \ 100 100 -1 ext4 \
$lvmok{ } \ $lvmok{ } \
in_vg{ sys } lv_name{ lv_free } \ in_vg{ sys } lv_name{ lv_free } \
method{ format } format{ } \ method{ format } format{ } \
@ -289,7 +289,7 @@ tasksel tasksel/first multiselect ssh-server standar
## Individual additional packages to install ## Individual additional packages to install
# tftp-hpa to download an archive (see preseed/late_command at the end of this file) # tftp-hpa to download an archive (see preseed/late_command at the end of this file)
d-i pkgsel/include string tmux puppet zsh tftp-hpa d-i pkgsel/include string aptitude tmux puppet zsh tftp-hpa
# Whether to upgrade packages after debootstrap. # Whether to upgrade packages after debootstrap.
# Allowed values: none, safe-upgrade, full-upgrade # Allowed values: none, safe-upgrade, full-upgrade
d-i pkgsel/upgrade select full-upgrade d-i pkgsel/upgrade select full-upgrade

View File

@ -3,10 +3,10 @@
#################################################################### ####################################################################
## With a PXE boot: ## With a PXE boot:
#label jessie #label stretch
# menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED # menu label Debian GNU/Linux ^Stretch 64 bits WITH PRESEED
# kernel installer/debian/jessie/amd64/linux # kernel installer/debian/stretch/amd64/linux
# APPEND vga=normal initrd=installer/debian/jessie/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/jessie/amd64/preseed.cfg IPAPPEND 2 # APPEND vga=normal initrd=installer/debian/stretch/amd64/initrd_firm.gz auto=true interface=auto netcfg/dhcp_timeout=60 netcfg/choose_interface=auto priority=critical preseed/url=tftp://129.20.203.27/installer/debian/stretch/amd64/preseed.cfg IPAPPEND 2
@ -234,7 +234,7 @@ d-i partman-auto/expert_recipe string \
in_vg{ sys } lv_name{ lv_swap } \ in_vg{ sys } lv_name{ lv_swap } \
method{ swap } format{ } \ method{ swap } format{ } \
. \ . \
16000 100000 -1 ext4 \ 100 100 -1 ext4 \
$lvmok{ } \ $lvmok{ } \
in_vg{ sys } lv_name{ lv_free } \ in_vg{ sys } lv_name{ lv_free } \
method{ format } format{ } \ method{ format } format{ } \
@ -289,7 +289,7 @@ tasksel tasksel/first multiselect ssh-server standar
## Individual additional packages to install ## Individual additional packages to install
# tftp-hpa to download an archive (see preseed/late_command at the end of this file) # tftp-hpa to download an archive (see preseed/late_command at the end of this file)
d-i pkgsel/include string tmux puppet zsh tftp-hpa d-i pkgsel/include string aptitude tmux puppet zsh tftp-hpa
# Whether to upgrade packages after debootstrap. # Whether to upgrade packages after debootstrap.
# Allowed values: none, safe-upgrade, full-upgrade # Allowed values: none, safe-upgrade, full-upgrade
d-i pkgsel/upgrade select full-upgrade d-i pkgsel/upgrade select full-upgrade