Skip to content

Instantly share code, notes, and snippets.

@antaflos
Created June 14, 2012 23:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antaflos/2933602 to your computer and use it in GitHub Desktop.
Save antaflos/2933602 to your computer and use it in GitHub Desktop.
Foreman Ubuntu 10.04/12.04 partition table
d-i partman-auto/disk string /dev/vda
d-i partman-auto-lvm/guided_size string max
d-i partman-auto-lvm/new_vg_name string vg_sys01
d-i partman-auto-lvm/no_boot boolean true
d-i partman-auto/method string lvm
d-i partman-auto/purge_lvm_from_device 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/confirm_write_new_label boolean true
d-i partman/default_filesystem string ext4
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
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 root-swap
d-i partman-auto/expert_recipe string root-swap :: \
1024 1024 1024 linux-swap method{ swap } \
format{ } $lvmok{ } lv_name{ lv_swap } \
. \
1024 10000 102400000 ext4 method{ lvm } \
$lvmok{ } mountpoint{ / } lv_name{ lv_root } \
format{ } use_filesystem{ } filesystem{ ext4 } \
options/relatime{ relatime } \
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment