Last active
August 29, 2015 14:20
-
-
Save drolfe/831503464e4ccf5b04a5 to your computer and use it in GitHub Desktop.
PXE network disk partitioning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d-i partman-auto/disk string /dev/cciss/c0d0 /dev/cciss/c0d1 | |
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-lvm/confirm boolean true | |
d-i partman-auto/purge_lvm_from_device boolean true | |
d-i partman-lvm/confirm_nooverwrite boolean true | |
d-i partman-auto-lvm/guided_size string max | |
d-i partman-auto/choose_recipe select boot-root | |
d-i partman-auto/purge_lvm_from_device boolean true | |
d-i partman-auto-lvm/new_vg_name string vg00 | |
d-i partman-auto-lvm/new_vg_name_exists string | |
d-i partman-lvm/vgcreate string vg00 | |
d-i partman-auto/expert_recipe string \ | |
boot-root :: \ | |
4096 4096 4096 ext4 \ | |
$primary{ } $bootable{ } \ | |
method{ format } format{ } \ | |
use_filesystem{ } filesystem{ ext4 } \ | |
mountpoint{ /boot } \ | |
. \ | |
4096 4096 300% linux-swap \ | |
method{ swap } format{ } \ | |
. \ | |
100000 5 100000 ext4 \ | |
method{ format } format{ } $lvmok{ } \ | |
in_vg{ vg00 } \ | |
lv_name{ vg00-lv01 } \ | |
use_filesystem{ } filesystem{ ext4 } \ | |
mountpoint{ / } \ | |
4096 2 100000000 ext4 \ | |
method{ format } format{ } $lvmok{ } \ | |
in_vg{ vg00 } \ | |
lv_name{ vg00-lv02 } \ | |
use_filesystem{ } filesystem{ ext4 } \ | |
mountpoint{ /home } \ | |
. | |
d-i partman/default_filesystem string ext4 | |
d-i partman-partitioning/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment