changed partition method
This commit is contained in:
parent
29d619ba96
commit
3d912a5f52
34
preseed.cfg
34
preseed.cfg
@ -6,7 +6,7 @@
|
||||
# By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2018/12/15 12:46:55 by tmaze #+# #+# #
|
||||
# Updated: 2018/12/15 15:32:35 by tmaze ### ########.fr #
|
||||
# Updated: 2018/12/16 14:26:13 by tmaze ### ########.fr #
|
||||
# #
|
||||
#******************************************************************************#
|
||||
|
||||
@ -33,7 +33,7 @@ d-i netcfg/get_netmask string 255.255.255.252
|
||||
d-i netcfg/confirm_static boolean true
|
||||
|
||||
# set host and domain
|
||||
d-i netcfg/hostname string roger-skyline-1
|
||||
d-i netcfg/get_hostname string roger-skyline-1
|
||||
d-i netcfg/get_domain string unassigned-domain
|
||||
|
||||
# disable WEP dialogue
|
||||
@ -61,18 +61,15 @@ d-i time/zone string Europe/Paris
|
||||
d-i clock-setup/ntp boolean true
|
||||
|
||||
# use lvm partitioning
|
||||
d-i partman-auto/method string lvm
|
||||
d-i partman-auto/method string regular
|
||||
d-i partman-lvm/device_remove_lvm boolean true
|
||||
d-i partman-lvm/device_remove_md boolean true
|
||||
d-i partman-lvm/confirm boolean true
|
||||
d-i partman-lvm/confirm_nooverwrite boolean true
|
||||
|
||||
# make lvm the max size
|
||||
d-i partman-auto-lvm/guided_size string max
|
||||
d-i partman-auto-lvm/new_vg_name string debian
|
||||
|
||||
# use the following partition scheme on /dev/sda
|
||||
d-i partman-auto/disk string /dev/sda
|
||||
d-i partman-auto/choose_recipe select boot-lvm
|
||||
d-i partman-auto/choose_recipe select boot-root
|
||||
|
||||
# /boot 500M ext4
|
||||
# swap 2G
|
||||
@ -80,35 +77,25 @@ d-i partman-auto/choose_recipe select boot-lvm
|
||||
# /var/log 4G ext4
|
||||
# / 8G+ ext4
|
||||
d-i partman-auto/expert_recipe string \
|
||||
boot-lvm :: \
|
||||
boot-root:: \
|
||||
954 954 954 linux-swap \
|
||||
$lvmok{ } \
|
||||
lv_name{ swap } in_vg { debian } \
|
||||
$primary{ } \
|
||||
method{ swap } format{ } \
|
||||
. \
|
||||
3815 3815 3815 ext4 \
|
||||
$lvmok{ } \
|
||||
lv_name{ root } in_vg { debian } \
|
||||
4005 4005 4005 ext4 \
|
||||
$primary{ } \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ / } \
|
||||
. \
|
||||
1907 1907 -1 ext4 \
|
||||
$lvmok{ } \
|
||||
lv_name{ home } in_vg { debian } \
|
||||
2670 2670 -1 ext4 \
|
||||
$primary{ } \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /home } \
|
||||
. \
|
||||
|
||||
# remove any RAID partitioning
|
||||
d-i partman-md/device_remove_md boolean true
|
||||
|
||||
# don't confirm anything
|
||||
d-i partman-basicfilesystems/no_mount_point boolean false
|
||||
d-i partman-partitioning/confirm_write_new_label boolean true
|
||||
d-i partman/choose_partition select finish
|
||||
d-i partman/confirm boolean true
|
||||
@ -122,7 +109,7 @@ d-i apt-setup/contrib boolean true
|
||||
tasksel tasksel/first multiselect standard, ssh-server
|
||||
|
||||
# also install the htop package
|
||||
d-i pkgsel/include string emacs git sudo
|
||||
d-i pkgsel/include string emacs git sudo wget curl
|
||||
|
||||
# upgrade all packages
|
||||
d-i pkgsel/upgrade select full-upgrade
|
||||
@ -135,5 +122,8 @@ d-i grub-installer/only_debian boolean true
|
||||
d-i grub-installer/with_other_os boolean true
|
||||
d-i grub-installer/bootdev string /dev/sda
|
||||
|
||||
d-i preseed/late_command string curl -o /etc/network/interfaces http://e3r5p4.42.fr:3000/files/interfaces
|
||||
d-i preseed/late_command string curl -o /etc/ssh/sshd_config http://e3r5p4.42.fr:3000/files/sshd_config
|
||||
|
||||
# don't wait for confirm, just reboot when finished
|
||||
d-i finish-install/reboot_in_progress note
|
Loading…
x
Reference in New Issue
Block a user