feat: Use a single esp insted of raid1
This commit is contained in:
@@ -7,12 +7,16 @@
|
|||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
partitions = {
|
partitions = {
|
||||||
boot = {
|
ESP = {
|
||||||
|
priority = 1;
|
||||||
|
name = "ESP";
|
||||||
size = "1G";
|
size = "1G";
|
||||||
type = "EF00";
|
type = "EF00";
|
||||||
content = {
|
content = {
|
||||||
type = "mdraid";
|
type = "filesystem";
|
||||||
name = "boot";
|
format = "vfat";
|
||||||
|
mountpoint = "/boot";
|
||||||
|
mountOptions = ["umask=0077"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
primary = {
|
primary = {
|
||||||
@@ -31,14 +35,14 @@
|
|||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
partitions = {
|
partitions = {
|
||||||
boot = {
|
# esp = {
|
||||||
size = "1G";
|
# size = "1G";
|
||||||
type = "EF00";
|
# type = "EF00";
|
||||||
content = {
|
# content = {
|
||||||
type = "mdraid";
|
# type = "mdraid";
|
||||||
name = "boot";
|
# name = "boot";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
primary = {
|
primary = {
|
||||||
size = "100%";
|
size = "100%";
|
||||||
content = {
|
content = {
|
||||||
@@ -50,18 +54,18 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
mdadm = {
|
# mdadm = {
|
||||||
boot = {
|
# esp = {
|
||||||
type = "mdadm";
|
# type = "mdadm";
|
||||||
level = 1;
|
# level = 1;
|
||||||
metadata = "1.0";
|
# metadata = "1.0";
|
||||||
content = {
|
# content = {
|
||||||
type = "filesystem";
|
# type = "filesystem";
|
||||||
format = "vfat";
|
# format = "vfat";
|
||||||
mountpoint = "/boot";
|
# mountpoint = "/boot";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
lvm_vg = {
|
lvm_vg = {
|
||||||
pool = {
|
pool = {
|
||||||
type = "lvm_vg";
|
type = "lvm_vg";
|
||||||
|
|||||||
Reference in New Issue
Block a user