Skip to content

Instantly share code, notes, and snippets.

@jbfavre
Created May 2, 2014 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbfavre/7aaff631e3516a410cfa to your computer and use it in GitHub Desktop.
Save jbfavre/7aaff631e3516a410cfa to your computer and use it in GitHub Desktop.
d-i partman-auto/method string lvm
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-auto-lvm/new_vg_name string vg0
d-i partman-auto-lvm/guided_size string 12GB
d-i partman-auto/expert_recipe string \
boot-root :: \
256 100 256 ext2 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext2 } \
mountpoint{ /boot } \
options/noatime{ noatime } \
. \
10240 100 10240 ext4 \
$defaultignore{ } $lvmok{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
options/noatime{ noatime } \
lv_name{ root } \
. \
1024 1000 1024 linux-swap \
$defaultignore{ } $lvmok{ } \
method{ swap } format{ } \
lv_name{ swap } \
.
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