mirror of
https://github.com/YunoHost/cd_build.git
synced 2024-09-03 20:06:24 +02:00
[enh] Add LVM, remove non-free
This commit is contained in:
parent
849c82d811
commit
3e84c8c3c6
2 changed files with 92 additions and 25 deletions
|
@ -1,11 +1,11 @@
|
||||||
### Network configuration
|
### Network configuration
|
||||||
d-i netcfg/choose_interface select auto
|
d-i netcfg/choose_interface select auto
|
||||||
d-i netcfg/dhcp_failed note
|
d-i netcfg/dhcp_failed note
|
||||||
d-i netcfg/disable_dhcp boolean true
|
d-i netcfg/dhcp_options select Configure network manually
|
||||||
d-i netcfg/use_dhcp boolean false
|
d-i netcfg/disable_dhcp boolean false
|
||||||
#d-i netcfg/get_hostname string yunohost
|
d-i netcfg/get_hostname string yunohost
|
||||||
#d-i netcfg/get_domain string mondomaine.fr
|
d-i netcfg/get_domain string yunohost.org
|
||||||
#d-i netcfg/get_domain seen true
|
d-i netcfg/get_domain seen true
|
||||||
|
|
||||||
### Mirror settings
|
### Mirror settings
|
||||||
d-i mirror/country string manual
|
d-i mirror/country string manual
|
||||||
|
@ -16,25 +16,68 @@ d-i mirror/http/proxy seen false
|
||||||
|
|
||||||
### Clock and time zone setup
|
### Clock and time zone setup
|
||||||
d-i clock-setup/utc boolean true
|
d-i clock-setup/utc boolean true
|
||||||
d-i time/zone string Europe/Paris
|
|
||||||
d-i clock-setup/ntp boolean true
|
d-i clock-setup/ntp boolean true
|
||||||
d-i clock-setup/ntp-server string 0.fr.pool.ntp.org
|
d-i clock-setup/ntp-server string 0.fr.pool.ntp.org
|
||||||
|
|
||||||
|
### Partitioning
|
||||||
|
d-i partman-auto/method string lvm
|
||||||
|
d-i partman-lvm/device_remove_lvm boolean true
|
||||||
|
d-i partman-md/device_remove_md boolean true
|
||||||
|
d-i partman-auto/choose_recipe select atomic
|
||||||
|
d-i partman-lvm/device_remove_lvm_span boolean true
|
||||||
|
d-i partman-auto/purge_lvm_from_device boolean true
|
||||||
|
d-i partman-auto-lvm/new_vg_name string system
|
||||||
|
d-i partman-lvm/confirm boolean true
|
||||||
|
d-i partman-auto-lvm/guided_size string max
|
||||||
|
d-i partman-auto/expert_recipe string \
|
||||||
|
boot-root :: \
|
||||||
|
128 256 256 ext4 \
|
||||||
|
$primary{ } \
|
||||||
|
$bootable{ } \
|
||||||
|
method{ format } format{ } \
|
||||||
|
use_filesystem{ } filesystem{ ext4 } \
|
||||||
|
mountpoint{ /boot } \
|
||||||
|
. \
|
||||||
|
512 1024 1024 linux-swap \
|
||||||
|
$lvmok{ } \
|
||||||
|
lv_name{ swap } \
|
||||||
|
method{ swap } format{ } \
|
||||||
|
. \
|
||||||
|
4096 4096 1000000000 ext4 \
|
||||||
|
$lvmok{ } \
|
||||||
|
lv_name{ root } \
|
||||||
|
method{ format } format{ } \
|
||||||
|
use_filesystem{ } filesystem{ ext4 } \
|
||||||
|
mountpoint{ / } \
|
||||||
|
.
|
||||||
|
|
||||||
|
d-i partman/confirm_write_new_label boolean true
|
||||||
|
#d-i partman/choose_partition select finish
|
||||||
|
d-i partman/confirm boolean true
|
||||||
|
d-i partman/confirm_nooverwrite boolean true
|
||||||
|
d-i partman-lvm/confirm_nooverwrite boolean true
|
||||||
|
|
||||||
### Account setup
|
### Account setup
|
||||||
d-i passwd/root-password-crypted password $1$6xBdkGvE$8nLCNRxwABespdFJniEiX0
|
d-i passwd/root-password-crypted password $1$6xBdkGvE$8nLCNRxwABespdFJniEiX0
|
||||||
d-i passwd/make-user boolean false
|
d-i passwd/make-user boolean false
|
||||||
|
|
||||||
### Base system installation
|
### Base system installation
|
||||||
d-i apt-setup/non-free boolean true
|
d-i apt-setup/non-free boolean false
|
||||||
d-i apt-setup/contrib boolean true
|
d-i apt-setup/contrib boolean true
|
||||||
|
|
||||||
|
d-i apt-setup/services-select multiselect security, updates
|
||||||
|
d-i apt-setup/security_host string security.debian.org
|
||||||
|
|
||||||
d-i apt-setup/local0/repository string \
|
d-i apt-setup/local0/repository string \
|
||||||
http://repo.yunohost.org/debian/ jessie stable
|
http://repo.yunohost.org/debian/ jessie stable
|
||||||
d-i apt-setup/local0/key string http://repo.yunohost.org/debian/yunohost.asc
|
d-i apt-setup/local0/key string http://repo.yunohost.org/debian/yunohost.asc
|
||||||
|
d-i apt-setup/local0/comment string YunoHost repository
|
||||||
#d-i debian-installer/allow_unauthenticated string true
|
#d-i debian-installer/allow_unauthenticated string true
|
||||||
|
|
||||||
### Package selection
|
### Package selection
|
||||||
tasksel tasksel/first multiselect standard, web-server, ssh-server
|
tasksel tasksel/first multiselect standard, web-server, ssh-server
|
||||||
d-i pkgsel/include string postfix yunohost
|
d-i pkgsel/include string postfix yunohost
|
||||||
|
d-i pkgsel/upgrade select none
|
||||||
|
|
||||||
### Deactivate poll on popular packages
|
### Deactivate poll on popular packages
|
||||||
popularity-contest popularity-contest/participate boolean false
|
popularity-contest popularity-contest/participate boolean false
|
||||||
|
|
|
@ -15,48 +15,72 @@ d-i mirror/http/proxy string
|
||||||
|
|
||||||
### Clock and time zone setup
|
### Clock and time zone setup
|
||||||
d-i clock-setup/utc boolean true
|
d-i clock-setup/utc boolean true
|
||||||
d-i time/zone string Europe/Paris
|
#d-i time/zone string Europe/Paris
|
||||||
d-i clock-setup/ntp boolean true
|
d-i clock-setup/ntp boolean true
|
||||||
d-i clock-setup/ntp-server string 0.fr.pool.ntp.org
|
d-i clock-setup/ntp-server string 0.fr.pool.ntp.org
|
||||||
|
|
||||||
### Partitioning
|
### Partitioning
|
||||||
d-i partman-auto/method string regular
|
d-i partman-auto/method string lvm
|
||||||
d-i partman-auto/choose_recipe select multi
|
d-i partman-lvm/device_remove_lvm boolean true
|
||||||
d-i partman-auto/expert_recipe string \
|
d-i partman-md/device_remove_md boolean true
|
||||||
condpart :: \
|
d-i partman-auto/choose_recipe select atomic
|
||||||
300 4000 7000 ext4 \
|
d-i partman-lvm/device_remove_lvm_span boolean true
|
||||||
$primary{ } $bootable{ } \
|
d-i partman-auto/purge_lvm_from_device boolean true
|
||||||
method{ format } format{ } \
|
d-i partman-auto-lvm/new_vg_name string system
|
||||||
use_filesystem{ } filesystem{ ext4 } \
|
d-i partman-lvm/confirm boolean true
|
||||||
mountpoint{ / } \
|
d-i partman-auto-lvm/guided_size string max
|
||||||
. \
|
d-i partman-auto/expert_recipe string \
|
||||||
512 1024 1024 linux-swap \
|
boot-root :: \
|
||||||
method{ swap } format{ } \
|
128 256 256 ext3 \
|
||||||
. \
|
$primary{ } \
|
||||||
|
$bootable{ } \
|
||||||
|
method{ format } format{ } \
|
||||||
|
use_filesystem{ } filesystem{ ext3 } \
|
||||||
|
mountpoint{ /boot } \
|
||||||
|
. \
|
||||||
|
512 1024 1024 linux-swap \
|
||||||
|
$lvmok{ } \
|
||||||
|
lv_name{ swap } \
|
||||||
|
method{ swap } format{ } \
|
||||||
|
. \
|
||||||
|
4096 4096 1000000000 ext3 \
|
||||||
|
$lvmok{ } \
|
||||||
|
lv_name{ root } \
|
||||||
|
method{ format } format{ } \
|
||||||
|
use_filesystem{ } filesystem{ ext3 } \
|
||||||
|
mountpoint{ / } \
|
||||||
|
.
|
||||||
|
|
||||||
d-i partman/confirm_write_new_label boolean true
|
d-i partman/confirm_write_new_label boolean true
|
||||||
d-i partman/choose_partition select finish
|
d-i partman/choose_partition select finish
|
||||||
d-i partman/confirm boolean false
|
d-i partman/confirm boolean true
|
||||||
d-i partman/confirm_nooverwrite boolean false
|
d-i partman/confirm_nooverwrite boolean true
|
||||||
|
d-i partman-lvm/confirm_nooverwrite boolean true
|
||||||
|
|
||||||
### Account setup
|
### Account setup
|
||||||
d-i passwd/root-password-crypted password $1$6xBdkGvE$8nLCNRxwABespdFJniEiX0
|
d-i passwd/root-password-crypted password $1$6xBdkGvE$8nLCNRxwABespdFJniEiX0
|
||||||
d-i passwd/make-user boolean false
|
d-i passwd/make-user boolean false
|
||||||
|
|
||||||
### Base system installation
|
### Base system installation
|
||||||
d-i apt-setup/non-free boolean true
|
d-i apt-setup/non-free boolean false
|
||||||
d-i apt-setup/contrib boolean true
|
d-i apt-setup/contrib boolean true
|
||||||
|
|
||||||
|
d-i apt-setup/services-select multiselect security, updates
|
||||||
|
d-i apt-setup/security_host string security.debian.org
|
||||||
|
|
||||||
d-i apt-setup/local0/repository string \
|
d-i apt-setup/local0/repository string \
|
||||||
http://repo.yunohost.org/debian/ jessie stable
|
http://repo.yunohost.org/debian/ jessie stable
|
||||||
d-i apt-setup/local0/key string http://repo.yunohost.org/debian/yunohost.asc
|
d-i apt-setup/local0/key string http://repo.yunohost.org/debian/yunohost.asc
|
||||||
|
d-i apt-setup/local0/comment string YunoHost repository
|
||||||
#d-i debian-installer/allow_unauthenticated string true
|
#d-i debian-installer/allow_unauthenticated string true
|
||||||
|
|
||||||
### Package selection
|
### Package selection
|
||||||
tasksel tasksel/first multiselect standard, web-server, ssh-server
|
tasksel tasksel/first multiselect standard, web-server, ssh-server
|
||||||
d-i pkgsel/include string postfix yunohost yunohost-admin
|
d-i pkgsel/include string postfix yunohost yunohost-admin
|
||||||
|
d-i pkgsel/upgrade select none
|
||||||
|
|
||||||
### Deactivate poll on popular packages
|
### Deactivate poll on popular packages
|
||||||
popularity-contest popularity-contest/participate boolean false
|
popularity-contest popularity-contest/participate boolean false
|
||||||
|
|
||||||
debconf debconf/frontend select Noninteractive
|
debconf debconf/frontend select Noninteractive
|
||||||
|
|
||||||
### Boot loader installation
|
### Boot loader installation
|
||||||
|
|
Loading…
Add table
Reference in a new issue