Ensure to install aptitude and the default empty size. Update stretch
name in comments.
This commit is contained in:
parent
b39470a49d
commit
982525a236
|
@ -3,10 +3,10 @@
|
|||
####################################################################
|
||||
|
||||
## With a PXE boot:
|
||||
#label jessie
|
||||
# menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED
|
||||
# kernel installer/debian/jessie/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
|
||||
#label stretch
|
||||
# menu label Debian GNU/Linux ^Stretch 64 bits WITH PRESEED
|
||||
# kernel installer/debian/stretch/amd64/linux
|
||||
# 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 } \
|
||||
method{ swap } format{ } \
|
||||
. \
|
||||
16000 100000 -1 ext4 \
|
||||
100 100 -1 ext4 \
|
||||
$lvmok{ } \
|
||||
in_vg{ sys } lv_name{ lv_free } \
|
||||
method{ format } format{ } \
|
||||
|
@ -298,7 +298,7 @@ tasksel tasksel/first multiselect ssh-server standar
|
|||
|
||||
## Individual additional packages to install
|
||||
# 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.
|
||||
# Allowed values: none, safe-upgrade, full-upgrade
|
||||
d-i pkgsel/upgrade select full-upgrade
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
####################################################################
|
||||
|
||||
## With a PXE boot:
|
||||
#label jessie
|
||||
# menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED
|
||||
# kernel installer/debian/jessie/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
|
||||
#label stretch
|
||||
# menu label Debian GNU/Linux ^Stretch 64 bits WITH PRESEED
|
||||
# kernel installer/debian/stretch/amd64/linux
|
||||
# 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 } \
|
||||
method{ swap } format{ } \
|
||||
. \
|
||||
16000 100000 -1 ext4 \
|
||||
100 100 -1 ext4 \
|
||||
$lvmok{ } \
|
||||
in_vg{ sys } lv_name{ lv_free } \
|
||||
method{ format } format{ } \
|
||||
|
@ -289,7 +289,7 @@ tasksel tasksel/first multiselect ssh-server standar
|
|||
|
||||
## Individual additional packages to install
|
||||
# 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.
|
||||
# Allowed values: none, safe-upgrade, 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 ; \
|
||||
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/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 tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \
|
||||
in-target /bin/sh /tmp/latecommand/post.sh
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
####################################################################
|
||||
|
||||
## With a PXE boot:
|
||||
#label jessie
|
||||
# menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED
|
||||
# kernel installer/debian/jessie/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
|
||||
#label stretch
|
||||
# menu label Debian GNU/Linux ^Stretch 64 bits WITH PRESEED
|
||||
# kernel installer/debian/stretch/amd64/linux
|
||||
# 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 } \
|
||||
method{ swap } format{ } \
|
||||
. \
|
||||
16000 100000 -1 ext4 \
|
||||
100 100 -1 ext4 \
|
||||
$lvmok{ } \
|
||||
in_vg{ sys } lv_name{ lv_free } \
|
||||
method{ format } format{ } \
|
||||
|
@ -289,7 +289,7 @@ tasksel tasksel/first multiselect ssh-server standar
|
|||
|
||||
## Individual additional packages to install
|
||||
# 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.
|
||||
# Allowed values: none, safe-upgrade, full-upgrade
|
||||
d-i pkgsel/upgrade select full-upgrade
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
####################################################################
|
||||
|
||||
## With a PXE boot:
|
||||
#label jessie
|
||||
# menu label Debian GNU/Linux ^Jessie 64 bits WITH PRESEED
|
||||
# kernel installer/debian/jessie/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
|
||||
#label stretch
|
||||
# menu label Debian GNU/Linux ^Stretch 64 bits WITH PRESEED
|
||||
# kernel installer/debian/stretch/amd64/linux
|
||||
# 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 } \
|
||||
method{ swap } format{ } \
|
||||
. \
|
||||
16000 100000 -1 ext4 \
|
||||
100 100 -1 ext4 \
|
||||
$lvmok{ } \
|
||||
in_vg{ sys } lv_name{ lv_free } \
|
||||
method{ format } format{ } \
|
||||
|
@ -289,7 +289,7 @@ tasksel tasksel/first multiselect ssh-server standar
|
|||
|
||||
## Individual additional packages to install
|
||||
# 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.
|
||||
# Allowed values: none, safe-upgrade, full-upgrade
|
||||
d-i pkgsel/upgrade select full-upgrade
|
||||
|
|
Loading…
Reference in New Issue