diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2017-11-19 22:49:36 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2017-11-19 22:50:24 +0100 |
commit | bf338ab9ee252b63dfcaa89db9ab7908dcb433a3 (patch) | |
tree | 57604ca9e694dd4cb10ddd0c6bd947198c3b5a5a /nixos/tests/installer.nix | |
parent | 944f35741cc6c38d1f9c1fcd71bbeec745d43f0c (diff) |
nixos: run parted with --script option (2nd)
Ref. 0ff4bb5f875afe8eb208bbabb3f52dc29539d2bc
("nixos: run parted with --script option")
Diffstat (limited to 'nixos/tests/installer.nix')
-rw-r--r-- | nixos/tests/installer.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 8c04b606e481..1fe78feceaaa 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -307,11 +307,11 @@ in { { createPartitions = '' $machine->succeed( - "parted /dev/vda mklabel gpt", - "parted -s /dev/vda -- mkpart ESP fat32 1M 50MiB", # /boot - "parted -s /dev/vda -- set 1 boot on", - "parted -s /dev/vda -- mkpart primary linux-swap 50MiB 1024MiB", - "parted -s /dev/vda -- mkpart primary ext2 1024MiB -1MiB", # / + "parted --script /dev/vda mklabel gpt", + "parted --script /dev/vda -- mkpart ESP fat32 1M 50MiB", # /boot + "parted --script /dev/vda -- set 1 boot on", + "parted --script /dev/vda -- mkpart primary linux-swap 50MiB 1024MiB", + "parted --script /dev/vda -- mkpart primary ext2 1024MiB -1MiB", # / "udevadm settle", "mkswap /dev/vda2 -L swap", "swapon -L swap", |