Fix LVM sample
This commit is contained in:
parent
b71845f83a
commit
cb677b9785
|
@ -44,7 +44,7 @@ clearpart --all --initlabel
|
|||
part /boot --fstype ext2 --size=500
|
||||
part pv.01 --size=1 --grow
|
||||
volgroup vg_root pv.01
|
||||
logvol / --vgname=vg_root --name=lv_root --grow
|
||||
logvol / --vgname=vg_root --name=lv_root --size 1 --grow
|
||||
|
||||
#System authorization infomation
|
||||
auth --useshadow --enablemd5
|
||||
|
|
|
@ -29,6 +29,11 @@ d-i grub-installer/timeout string 2
|
|||
# Add the network and tasks oem-config steps by default.
|
||||
oem-config oem-config/steps multiselect language, timezone, keyboard, user, network, tasks
|
||||
|
||||
# Overwrite/remove existing LVMs
|
||||
d-i partman-lvm/confirm_nooverwrite boolean true
|
||||
d-i partman-lvm/device_remove_lvm boolean true
|
||||
d-i partman-lvm/confirm boolean true
|
||||
|
||||
# Bypass no swap warning
|
||||
d-i partman-basicfilesystems/no_swap boolean false
|
||||
|
||||
|
|
Loading…
Reference in New Issue