Fix evaluation when a GPT partition is left unformatted

This commit is contained in:
Gary Guo committed 2024-11-25 02:10:48 +00:00
1 parent 47bc8dfb6f
commit 3e83c11038
3 files changed
+48 -1

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
# Example to create a GPT partition but doesn't format it
{
disko.devices = {
disk = {
main = {
device = "/dev/vdb";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
size = "100M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
empty = {
size = "1G";
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}