fix examples...

...why did those tests pass before? config didn't match options schema
This commit is contained in:
phaer 2023-01-15 16:36:59 +01:00
parent 94d1319001
commit f8050d6f84
2 changed files with 4 additions and 5 deletions

View file

@ -5,7 +5,7 @@
type = "lvm_vg"; type = "lvm_vg";
lvs = { lvs = {
root = { root = {
type = "lv"; type = "lvm_lv";
size = "10G"; size = "10G";
content = { content = {
type = "filesystem"; type = "filesystem";
@ -14,7 +14,7 @@
}; };
}; };
home = { home = {
type = "lv"; type = "lvm_lv";
size = "10G"; size = "10G";
content = { content = {
type = "filesystem"; type = "filesystem";
@ -33,9 +33,8 @@
format = "gpt"; format = "gpt";
partitions = [ partitions = [
{ {
name = "boot"; name = "ESP";
type = "partition"; type = "partition";
part-type = "ESP";
start = "1MiB"; start = "1MiB";
end = "1024MiB"; end = "1024MiB";
fs-type = "fat32"; fs-type = "fat32";

View file

@ -18,7 +18,7 @@
disk = { disk = {
sda = { sda = {
device = "/dev/sda"; device = "/dev/sda";
type = "device"; type = "disk";
content = { content = {
type = "table"; type = "table";
format = "msdos"; format = "msdos";