nixos/tests: installer: restructure simple test data
This commit is contained in:
parent
7f363b034e
commit
c400ab55d6
@ -304,16 +304,9 @@ let
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
in {
|
|
||||||
|
|
||||||
# !!! `parted mkpart' seems to silently create overlapping partitions.
|
|
||||||
|
|
||||||
|
|
||||||
# The (almost) simplest partitioning scheme: a swap partition and
|
# The (almost) simplest partitioning scheme: a swap partition and
|
||||||
# one big filesystem partition.
|
# one big filesystem partition.
|
||||||
simple = makeInstallerTest "simple"
|
simple-test-config = { createPartitions =
|
||||||
{ createPartitions =
|
|
||||||
''
|
''
|
||||||
$machine->succeed(
|
$machine->succeed(
|
||||||
"flock /dev/vda parted --script /dev/vda -- mklabel msdos"
|
"flock /dev/vda parted --script /dev/vda -- mklabel msdos"
|
||||||
@ -328,6 +321,15 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
in {
|
||||||
|
|
||||||
|
# !!! `parted mkpart' seems to silently create overlapping partitions.
|
||||||
|
|
||||||
|
|
||||||
|
# The (almost) simplest partitioning scheme: a swap partition and
|
||||||
|
# one big filesystem partition.
|
||||||
|
simple = makeInstallerTest "simple" simple-test-config;
|
||||||
|
|
||||||
# Simple GPT/UEFI configuration using systemd-boot with 3 partitions: ESP, swap & root filesystem
|
# Simple GPT/UEFI configuration using systemd-boot with 3 partitions: ESP, swap & root filesystem
|
||||||
simpleUefiSystemdBoot = makeInstallerTest "simpleUefiSystemdBoot"
|
simpleUefiSystemdBoot = makeInstallerTest "simpleUefiSystemdBoot"
|
||||||
{ createPartitions =
|
{ createPartitions =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user