From 0145b10869f05735d80d429d59addd46a801af5d Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 24 Jan 2014 20:39:03 +0100 Subject: Improve the description of preseeding options. --- include/partition.sh | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'include') diff --git a/include/partition.sh b/include/partition.sh index d487b02..eed6db9 100755 --- a/include/partition.sh +++ b/include/partition.sh @@ -16,14 +16,21 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +# On most installations it should be enough to change what is marked as +# 'FIXME'. + set -ue . /lib/fripost-partman/base.sh -#device=/dev/sda -device='/dev/sda /dev/sdb' # space-separated form mutiple disks (raid) -raidLevel=raid1 # raid level (leave empty for no raid) -raidNumActiveDevices=2 # number of active devices in the array +# Configuration for a single disk +device=/dev/sda +raidLevel= + +# Configuration for a RAID array +#device='/dev/sda /dev/sdb' # FIXME +#raidLevel=raid1 # raid level FIXME +#raidNumActiveDevices=2 # number of active devices in the array FIXME n=0 @@ -147,9 +154,9 @@ vg=$(hostname) pvcreate -ff -y $part_system vgcreate $vg $part_system -lvcreate -L 5G -n root $vg -lvcreate -L 1G -n swap $vg -lvcreate -l 100%FREE -n home $vg +lvcreate -L 5G -n root $vg # FIXME +lvcreate -L 1G -n swap $vg # FIXME +lvcreate -l 100%FREE -n home $vg # FIXME vgchange -ay $vg -- cgit v1.2.3