nixos: run parted with --script option (3rd)

Doh, should have included this in previous commit.

Ref. 0ff4bb5f875afe8eb208bbabb3f52dc29539d2bc
("nixos: run parted with --script option").

+5 -5
+5 -5
nixos/tests/installer.nix
··· 467 467 filesystemEncryptedWithKeyfile = makeInstallerTest "filesystemEncryptedWithKeyfile" 468 468 { createPartitions = '' 469 469 $machine->succeed( 470 - "parted /dev/vda mklabel msdos", 471 - "parted /dev/vda -- mkpart primary ext2 1M 50MB", # /boot 472 - "parted /dev/vda -- mkpart primary linux-swap 50M 1024M", 473 - "parted /dev/vda -- mkpart primary 1024M 1280M", # LUKS with keyfile 474 - "parted /dev/vda -- mkpart primary 1280M -1s", 470 + "parted --script /dev/vda mklabel msdos", 471 + "parted --script /dev/vda -- mkpart primary ext2 1M 50MB", # /boot 472 + "parted --script /dev/vda -- mkpart primary linux-swap 50M 1024M", 473 + "parted --script /dev/vda -- mkpart primary 1024M 1280M", # LUKS with keyfile 474 + "parted --script /dev/vda -- mkpart primary 1280M -1s", 475 475 "udevadm settle", 476 476 "mkswap /dev/vda2 -L swap", 477 477 "swapon -L swap",