git.iko.soy/typeable/nixpkgs
on master help sign in
nixos: run parted with --script option (3rd)

Doh, should have included this in previous commit. Ref. 0ff4bb5f875afe8eb208bbabb3f52dc29539d2bc ("nixos: run parted with --script option").

commitaedba5c2af3e545ed717e4c66a4bbbaacf9cf44a authorBjørn Forsman <bjorn.forsman@gmail.com> dateSun 19 Nov 2017, 22:54 (9 years ago) parentbf338ab
1 file changed+5−5
nixos/tests/installer.nix+5−5
nixos/tests/installer.nix+5−5
@@ -467,11 +467,11 @@ in {
467467 filesystemEncryptedWithKeyfile = makeInstallerTest "filesystemEncryptedWithKeyfile"
468468 { createPartitions = ''
469469 $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",
475475 "udevadm settle",
476476 "mkswap /dev/vda2 -L swap",
477477 "swapon -L swap",