nixpkgs-custom/nixos/modules/virtualisation
Tuomas Tynkkynen 7fc7886203 nixos/qemu-vm: Always add a virtio RNG device to the quest
mke2fs has this annoying property that it uses getrandom() to get random
numbers (for whatever purposes) which blocks until the kernel's secure
RNG has sufficient entropy, which it usually doesn't in the early boot
(except if your CPU supports RDRAND) where we may need to create the
root disk.

So let's give the VM a virtio RNG to avoid the boot getting stuck at
mke2fs.

(cherry picked from commit dda74d9e50dbd8a412de743a53e9cfd585407342)
2018-08-18 15:47:33 +03:00
..
amazon-image.nix Do not kill udev during boot 2018-06-04 13:00:44 -04:00
amazon-init.nix amazon-init.service: fix starting services at startup 2017-02-27 16:51:36 +00:00
amazon-options.nix Fix eval error due to config.ec2.hvm 2017-04-04 13:49:13 +02:00
azure-agent-entropy.patch virtualization/azure: take entropy handling code out of WALA and execute it before SSHD generates the host keys 2016-03-13 13:57:30 +02:00
azure-agent.nix azure-agent: add bash to service path. 2018-05-14 15:24:35 +01:00
azure-bootstrap-blobs.nix add Azure bootstrap blob list 2016-09-15 16:27:47 +03:00
azure-common.nix openssh: support prohibit-password for permitRootLogin 2016-10-01 13:23:56 -04:00
azure-config-user.nix azure-image: provide configuration.nix which allows nixos-rebuild to build a working generation and add helpful comments 2016-03-03 04:03:07 +02:00
azure-config.nix Initial configuration + image generation script for Micro$oft Azure. Work in progress for #3986. 2014-09-06 21:37:46 +02:00
azure-image.nix azure-image: switch to use the common make-disk-image.nix 2017-04-25 02:59:13 +00:00
azure-images.nix Add file with Azure image locations, similar to ec2-amis.nix. Will be used by nixops. 2017-07-18 09:18:51 +00:00
azure-qemu-220-no-etc-install.patch azure: package qemu @ 2.2.0 2016-02-18 21:08:28 -08:00
brightbox-config.nix Add initial Brightbox expression. 2015-08-08 19:50:22 +00:00
brightbox-image.nix nixos: rename config.system.nixos* -> config.system.nixos.* 2018-02-18 12:56:30 +00:00
container-config.nix nixos/containers: Enable use of the network.useHostResolvConf option (#34354) 2018-01-28 14:42:15 +00:00
containers.nix nixos containers: remove stray `,` from pattern 2017-12-12 18:35:06 +01:00
docker-image.nix container.nix -> docker-container.nix 2015-04-19 22:06:45 +02:00
docker.nix docker: Allow package selection in module 2017-09-04 19:02:05 -04:00
ec2-amis.nix EC2 AMIs: 18.03.131792.becbe4dbe16 -> 18.03.132946.1caae7247b8 2018-07-24 21:21:00 +02:00
ec2-data.nix ec2-data: ensure providing a SSH host key is actually optional 2016-02-25 20:11:49 -06:00
ecs-agent.nix nixos/modules: use defaultText/literalExample where applicable 2017-03-07 14:06:08 +01:00
gce-images.nix Update GCE image for 18.03 2018-05-30 19:36:16 +02:00
google-compute-config.nix Work around infinite recursion issue in nixops. 2015-04-29 09:55:20 +00:00
google-compute-image.nix avoid redundant rm calls 2018-06-04 11:39:39 +02:00
grow-partition.nix nixos: introduce boot.growPartition (#33521) 2018-01-06 13:52:51 +00:00
hyperv-guest.nix hyperv-daemons: add nixos module 2018-01-04 21:09:01 +08:00
libvirtd.nix nixos/libvirtd: add qemu-img to $PATH of the daemon 2018-01-19 16:28:01 +00:00
lxc-container.nix container.nix -> docker-container.nix 2015-04-19 22:06:45 +02:00
lxc.nix lxc: ensure directory /var/lib/lxc/rootfs 2017-03-15 12:42:27 +01:00
lxcfs.nix lxcfs: remove cgmanager dependency 2017-11-07 11:04:12 +00:00
lxd.nix nixos/lxd: partial fix 2018-02-10 17:18:53 +09:00
nova-config.nix nixos: introduce boot.growPartition (#33521) 2018-01-06 13:52:51 +00:00
openvswitch.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
parallels-guest.nix parallels: add package config option 2018-03-01 17:09:13 -06:00
qemu-vm.nix nixos/qemu-vm: Always add a virtio RNG device to the quest 2018-08-18 15:47:33 +03:00
rkt.nix nixos/treewide: systemd.time is in manvolume 7 2017-03-21 08:28:53 +01:00
virtualbox-guest.nix virtualbox guest module: make x11 optional 2016-12-04 22:24:01 +01:00
virtualbox-host.nix Virtualbox: Fix type error in `networking.interfaces.vboxnet0.ipv4.addresses` 2018-02-19 17:48:15 +01:00
virtualbox-image.nix nixos: rename config.system.nixos* -> config.system.nixos.* 2018-02-18 12:56:30 +00:00
vmware-guest.nix open-vm-tools: do not pull x dependencies unconditionally 2017-08-15 17:05:30 +08:00
xe-guest-utilities.nix xe-guest-utilities: init at 6.2.0 2016-03-30 09:27:40 -07:00
xen-dom0.nix nixos/xen-dom0: add related packages, make it play well with them 2018-02-09 19:51:07 +00:00
xen-domU.nix xen: update domU config for pvgrub2 2017-02-12 20:53:54 +01:00