Skip to content

Commit bbdb76a

Browse files
committed
provisioning: Fix test file
Signed-off-by: Ikey Doherty <[email protected]>
1 parent 982b251 commit bbdb76a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

crates/provisioning/tests/use_whole_disk.kdl

+9-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ strategy name="whole_disk" summary="Wipe and use an entire disk" {
44
// The result is stored in "root_disk" (disk=..)
55
find-disk "root_disk" {
66
constraints {
7-
min (GB)60
7+
min (GiB)30
88
}
99
}
1010

@@ -14,26 +14,26 @@ strategy name="whole_disk" summary="Wipe and use an entire disk" {
1414
// Create the ESP
1515
create-partition disk="root_disk" role="boot" id="esp" {
1616
constraints {
17-
min (GIB)1
18-
max (GIB)2
17+
min (GiB)1
18+
max (GiB)2
1919
}
2020
type (GUID)"efi-system-partition"
2121
}
2222

2323
// Create xbootldr
2424
create-partition disk="root_disk" role="extended-boot" id="xbootldr" {
2525
constraints {
26-
min (GIB)2
27-
max (GIB)4
26+
min (GiB)2
27+
max (GiB)4
2828
}
2929
type (GUID) "linux-extended-boot"
3030
}
3131

3232
// Create a partition for rootfs
3333
create-partition disk="root_disk" id="root" role="root" {
3434
constraints {
35-
min (GIB)30
36-
max (GIB)120
35+
min (GiB)30
36+
max (GiB)120
3737
}
3838
}
3939

@@ -47,8 +47,8 @@ strategy name="whole_disk_with_swap" inherits="whole_disk" \
4747
// Create a swap partition in addition to the base strategy
4848
create-partition disk="root_disk" id="swap" role="swap" {
4949
constraints {
50-
min (GIB)4
51-
max (GIB)8
50+
min (GiB)4
51+
max (GiB)8
5252
}
5353
type (GUID)"linux-swap"
5454
}

0 commit comments

Comments
 (0)