summaryrefslogtreecommitdiffstats
path: root/templates/raid1
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-07-04 23:08:02 +0200
committerSuren A. Chilingaryan <csa@suren.me>2018-07-04 23:08:02 +0200
commit127a9061b2af28e3cb59f67b5cf7268b59d312cd (patch)
treed8382b48f764181aaf87bfcbd741b0a3596fb4c8 /templates/raid1
downloadkickstart-127a9061b2af28e3cb59f67b5cf7268b59d312cd.tar.gz
kickstart-127a9061b2af28e3cb59f67b5cf7268b59d312cd.tar.bz2
kickstart-127a9061b2af28e3cb59f67b5cf7268b59d312cd.tar.xz
kickstart-127a9061b2af28e3cb59f67b5cf7268b59d312cd.zip
Initial release
Diffstat (limited to 'templates/raid1')
-rw-r--r--templates/raid111
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/raid1 b/templates/raid1
new file mode 100644
index 0000000..bcdb1c7
--- /dev/null
+++ b/templates/raid1
@@ -0,0 +1,11 @@
+part biosboot --ondisk=@DISK1@ --asprimary --size=1 --fstype=biosboot
+part biosboot --ondisk=@DISK2@ --asprimary --size=1 --fstype=biosboot
+part raid.01 --ondisk=@DISK1@ --asprimary --size @BOOTSIZE@
+part raid.02 --ondisk=@DISK2@ --asprimary --size @BOOTSIZE@
+part swap --ondisk=@DISK1@ --asprimary --fstype=swap --recommended
+part swap --ondisk=@DISK2@ --asprimary --fstype=swap --recommended
+part raid.03 --ondisk=@DISK1@ --asprimary --size @SIZE@ --grow
+part raid.04 --ondisk=@DISK2@ --asprimary --size @SIZE@ --grow
+raid /boot --level=RAID1 --device=md0 raid.01 raid.02 --fstype=ext4
+raid pv.01 --level=@RAID@ --device=md1 raid.03 raid.04
+volgroup sysvg pv.01