nixpkgs/nixos/modules/virtualisation
Tuomas Tynkkynen 962e79ef32 nixos/make-disk-image.nix: Support EFI images
- Add a new parameter `imageType` that can specify either "efi" or
  "legacy" (the default which should see no change in behaviour by
  this patch).

- EFI images get a GPT partition table (instead of msdos) with a
  mandatory ESP partition (so we add an assert that `partitioned`
  is true).

- Use the partx tool from util-linux to determine exact start + size
  of the root partition. This is required because GPT stores a secondary
  partition table at the end of the disk, so we can't just have
  mkfs.ext4 create the filesystem until the end of the disk.

- (Unrelated to any EFI changes) Since we're depending on the
  `-E offset=X` option to mkfs which is only supported by e2fsprogs,
  disallow any attempts of creating partitioned disk images where
  the root filesystem is not ext4.
2018-01-22 11:18:23 +02:00
..
amazon-image.nix nixos: introduce boot.growPartition (#33521) 2018-01-06 13:52:51 +00: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
azure-agent.nix treewide: deprecate ip-up.target (#18319) 2016-09-10 18:03:59 +02: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-config.nix
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
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 nixos containers: remove stray , from pattern 2017-12-12 18:35:06 +01:00
docker-image.nix
docker.nix docker: Allow package selection in module 2017-09-04 19:02:05 -04:00
ec2-amis.nix EC2 AMIs: 17.09.2356.cb751f9b1c3 -> 17.09.2681.59661f21be6 2018-01-10 13:16:49 +01:00
ec2-data.nix
ecs-agent.nix nixos/modules: use defaultText/literalExample where applicable 2017-03-07 14:06:08 +01:00
gce-images.nix Add file with GCE image locations, similar to ec2-amis.nix. Will be used by nixops. 2017-07-18 09:16:15 +00:00
google-compute-config.nix
google-compute-image.nix Merge pull request #33423 from AmineChikhaoui/gce-ssh-keys 2018-01-18 13:06:00 +01: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/libvirt: remove 'virtualisation.libvirtd.enableKVM' option 2017-12-21 03:56:41 +00:00
lxc-container.nix
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 lxd: 2.0.2 -> 2.12 (#25685) 2017-05-24 19:29:38 +01:00
nova-config.nix nixos: introduce boot.growPartition (#33521) 2018-01-06 13:52:51 +00:00
openvswitch.nix
parallels-guest.nix remove prlcc from global systemd services 2017-11-11 17:05:08 -06:00
qemu-vm.nix nixos/qemu-vm: Pass gic-version=host for AArch64 2017-12-06 17:29:09 +02: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 nixos/virtualbox: unbreak wrt. new security.wrappers 2017-02-15 07:25:33 +01:00
virtualbox-image.nix nixos/make-disk-image.nix: Support EFI images 2018-01-22 11:18:23 +02: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
xen-dom0.nix Revert "nixos: doc: implement related packages in the manual" 2017-12-23 07:19:45 -05:00
xen-domU.nix xen: update domU config for pvgrub2 2017-02-12 20:53:54 +01:00