checking in some stuff... i'm going to rework how i do the disk init to ALWAYS use freshDisk().

This commit is contained in:
brent s
2019-10-22 14:34:39 -04:00
parent 108588827a
commit 305a0db34f
8 changed files with 227 additions and 33 deletions

View File

@@ -5,13 +5,18 @@
<storage>
<disk device="/dev/sda" diskFormat="gpt" forceReformat="true">
<!-- Partitions are numbered *in the order they are specified*. -->
<part id="boot" label="/boot" start="0%" stop="10%" fsType="ef00" /><!-- e.g. this would be /dev/sda1 -->
<part id="secrets1" label="shh" start="10%" stop="20%" fsType="8300"/>
<part id="lvm_member1" label="dynamic" start="20%" stop="30%" fsType="8300"/>
<part id="boot" name="BOOT" label="/boot" start="0%" stop="10%" fsType="ef00"/><!-- e.g. this would be /dev/sda1 -->
<part id="secrets1" name="crypted" label="shh" start="10%" stop="20%" fsType="8300"/>
<part id="lvm_member1" name="jbod" label="dynamic" start="20%" stop="30%" fsType="8300"/>
<part id="raid1_d1" start="30%" stop="55%" fsType="fd00"/>
<part id="raid1_d2" start="55%" stop="80%" fsType="fd00"/>
<part id="swap" start="80%" stop="100%" fsType="8200" />
</disk>
<fileSystems>
<fs source="boot" type="vfat">
<opts>-F 32 -n {label}</opts>
</fs>
</fileSystems>
<!-- "Special" devices are processed *in the order they are specified*. This is important if you wish to
e.g. layer LUKS on top of LVM - you would specify <lvm> before <luks> and reference the
<luksDev id="SOMETHING" ... > as <lvmLogical source="SOMETHING" ... />. -->