nixos/tests/swraid: Increase boot partition size.
I'm increasing it to 100MB to make sure, any bootloader will fit with all its stages. Of course, right now the reason why GRUB doesn't fit into the partition is because of mdadm 3.3.2 and thus the initrd taking all the space, but in order to avoid confusion on why the *boot* loader fails in the VM tests, I've increased the size. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
edee502f81
commit
56c0edca86
|
@ -327,12 +327,12 @@ in {
|
|||
$machine->succeed(
|
||||
"parted /dev/vda --"
|
||||
. " mklabel msdos"
|
||||
. " mkpart primary ext2 1M 30MB" # /boot
|
||||
. " mkpart extended 30M -1s"
|
||||
. " mkpart logical 31M 1531M" # md0 (root), first device
|
||||
. " mkpart logical 1540M 3040M" # md0 (root), second device
|
||||
. " mkpart logical 3050M 3306M" # md1 (swap), first device
|
||||
. " mkpart logical 3320M 3576M", # md1 (swap), second device
|
||||
. " mkpart primary ext2 1M 100MB" # /boot
|
||||
. " mkpart extended 100M -1s"
|
||||
. " mkpart logical 102M 1602M" # md0 (root), first device
|
||||
. " mkpart logical 1603M 3103M" # md0 (root), second device
|
||||
. " mkpart logical 3104M 3360M" # md1 (swap), first device
|
||||
. " mkpart logical 3361M 3617M", # md1 (swap), second device
|
||||
"udevadm settle",
|
||||
"ls -l /dev/vda* >&2",
|
||||
"cat /proc/partitions >&2",
|
||||
|
|
Loading…
Reference in a new issue