aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-01-24 20:39:03 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 04:28:02 +0200
commit0145b10869f05735d80d429d59addd46a801af5d (patch)
tree4eba02e38dae0be27a0b063c94ab987914e78e68 /include
parent094cef40357ce61cfe034dc25fed51060b656527 (diff)
Improve the description of preseeding options.
Diffstat (limited to 'include')
-rwxr-xr-xinclude/partition.sh21
1 files changed, 14 insertions, 7 deletions
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 <http://www.gnu.org/licenses/>.
+# 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