1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/nixos/modules/virtualisation
Bjørn Forsman 0ff4bb5f87 nixos: run parted with --script option
-s, --script: never prompts for user intervention

Sometimes the NixOS installer tests fail when they invoke parted, e.g.
https://hydra.nixos.org/build/62513826/nixlog/1. But instead of exiting
right there, the tests hang until the Nix builder times out (and kills
the build). With this change the tests would instead fail immediately,
which is preferred.

While at it, use "parted --script" treewide, so nobody gets build
timeout due to parted error (or misuse). (Only nixos/ use it, and only
non-interactive.)

A few instances already use the short option "-s", convert them to long
option "--short".
2017-10-14 15:29:02 +02:00
..
openstack
amazon-image.nix
amazon-init.nix
amazon-options.nix
azure-agent-entropy.patch
azure-agent.nix
azure-bootstrap-blobs.nix
azure-common.nix
azure-config-user.nix
azure-config.nix
azure-image.nix
azure-images.nix
azure-qemu-220-no-etc-install.patch
brightbox-config.nix
brightbox-image.nix nixos: run parted with --script option 2017-10-14 15:29:02 +02:00
container-config.nix
containers.nix
docker-image.nix
docker.nix
ec2-amis.nix
ec2-data.nix
ecs-agent.nix
gce-images.nix
google-compute-config.nix
google-compute-image.nix
grow-partition.nix
libvirtd.nix
lxc-container.nix
lxc.nix
lxcfs.nix
lxd.nix
nova-config.nix
nova.nix
openvswitch.nix
parallels-guest.nix
qemu-vm.nix
rkt.nix
virtualbox-guest.nix
virtualbox-host.nix
virtualbox-image.nix
vmware-guest.nix
xe-guest-utilities.nix
xen-dom0.nix
xen-domU.nix