nixpkgs/nixos/modules/virtualisation
Niklas Hambüchen 5b16d4c9ce qemu-vm.nix: Fix device name hardcodes on useBootLoader.
boot.loader.grub.device` was hardcoded to `bootDevice`, which is
wrong, because that's the device for `/`, and with `useBootLoader`
the boot loader is not on that device.

This bug probably came into existence because of bad naming;
`virtualisation.bootDevice` has description
"The disk to be used for the root filesystem", which is very confusing;
it should be `.rootDevice` then!
Unfortunately, the description is right and the attribute name is wrong,
so it is not easy to change this without deprecation.

This commit ensures that even if you use `useBootLoader` and
`diskInterface == "scsi"`, the created VM can boot through, and can run
`nixos-rebuild afterwards.

It also adds extra commentary to explain what's going on in this module
in general in relation to `useBootLoader`.
2020-07-04 14:47:36 +02:00
..
amazon-image.nix
amazon-init.nix
amazon-options.nix
anbox.nix
azure-agent-entropy.patch
azure-agent.nix nixos/azure-agent: always run systemctl of the currently running systemd 2020-05-21 10:34:11 +02:00
azure-bootstrap-blobs.nix
azure-common.nix
azure-config-user.nix
azure-config.nix
azure-image.nix
azure-images.nix
brightbox-config.nix
brightbox-image.nix
cloudstack-config.nix
container-config.nix
containers.nix nixos/{podman,containers}: libpod.conf -> containers.conf 2020-06-26 08:09:36 +10:00
cri-o.nix nixos/cri-o: default to upstream pause 2020-05-25 12:27:49 +02:00
digital-ocean-config.nix
digital-ocean-image.nix
digital-ocean-init.nix
docker-image.nix
docker-preloader.nix
docker.nix
ec2-amis.nix ec2-amis.nix: add NixOS 20.03 images 2020-04-26 09:54:10 -04:00
ec2-data.nix
ec2-metadata-fetcher.nix
ecs-agent.nix nixos/*: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
gce-images.nix
google-compute-config.nix
google-compute-image.nix
grow-partition.nix
hyperv-guest.nix
hyperv-image.nix virtualisation/hyperv-image: remove diskImage after vhdx is generated 2020-05-20 19:56:38 -04:00
kvmgt.nix nixos/kvmgt: allow multiple uuids on same mdev 2020-05-30 12:13:54 -04:00
libvirtd.nix nixos/libvirtd: correct spelling 2020-05-31 08:38:09 +02:00
lxc-container.nix
lxc.nix
lxcfs.nix
lxd.nix lxd: When lxcfs is enabled, start lxd with explicit LXD_LXC_TEMPLATE_CONFIG 2020-06-05 16:37:31 +02:00
nixos-containers.nix nixos/networkd: rename the networkd dhcpConfig option to dhcpV4Config 2020-05-01 13:33:54 +02:00
oci-containers.nix nixos/docker-containers: Rename to virtualisation.oci-containers.containers. 2020-05-04 13:47:25 +01:00
openstack-config.nix
openvswitch.nix
parallels-guest.nix
podman.nix nixos/{podman,containers}: libpod.conf -> containers.conf 2020-06-26 08:09:36 +10:00
qemu-guest-agent.nix
qemu-vm.nix qemu-vm.nix: Fix device name hardcodes on useBootLoader. 2020-07-04 14:47:36 +02:00
railcar.nix
virtualbox-guest.nix
virtualbox-host.nix
virtualbox-image.nix
vmware-guest.nix
vmware-image.nix virtualisation: add vmware-image (#88523) 2020-05-22 10:03:46 +02:00
xe-guest-utilities.nix
xen-dom0.nix treewide: add types to boolean / enable options or make use of mkEnableOption 2020-04-27 09:32:01 +02:00
xen-domU.nix