summary refs log tree commit diff
path: root/nixos/modules/virtualisation
Commit message (Collapse)AuthorAge
* nixos/railcar: fix typoFlorian Klink2020-08-07
|
* nixos/modules: remove trailing whitespaceJörg Thalheim2020-08-07
| | | | | This leads to ci failure otherwise if the file gets changed. git-blame can ignore whitespace changes.
* Merge pull request #60246 from dfordivam/virtualbox-add-extra-diskJohn Ericson2020-08-02
|\ | | | | nixos/modules/virtualization: Options to add an extra disk in virtualbox VM
| * Options to add an extra disk in virtual box VM.Divam2020-07-06
| |
* | qemu-vm: fix master evalajs1242020-07-21
| |
* | nixos/modules/system/activation/top-level.nix: allow overriding system.nameBas van Dijk2020-07-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The toplevel derivations of systems that have `networking.hostName` set to `""` (because they want their hostname to be set by DHCP) used to be all named `nixos-system-unnamed-${config.system.nixos.label}`. This makes them hard to distinguish. A similar problem existed in NixOS tests where `vmName` is used in the `testScript` to refer to the VM. It defaulted to the `networking.hostName` which when set to `""` won't allow you to refer to the machine from the `testScript`. This commit makes the `system.name` configurable. It still defaults to: ``` if config.networking.hostName == "" then "unnamed" else config.networking.hostName; ``` but in case `networking.hostName` needs to be to `""` the `system.name` can be set to a distinguishable name.
* | nixos/containers: correct isNormaUser to isNormalUser06kellyjac2020-07-19
| | | | | | | | Correct a small spelling slip up
* | Merge pull request #76487 from ryneeverett/lockkernelmodules-dockerJörg Thalheim2020-07-18
|\ \
| * | nixos/docker: explicitly load kernel modulesryneeverett2020-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is analogous to #70447. With security.lockKernelModules=true, docker commands result in the following error without at least loading veth: $ docker run hello-world /nix/store/mr50kaan2vs4gc40ymwncb2vci25aq7z-docker-19.03.2/libexec/docker/docker: Error response from daemon: failed to create endpoint epic_kare on network bridge: failed to add the host (veth8b381f3) <=> sandbox (veth348e197) pair interfaces: operation not supported. ERRO[0003] error waiting for container: context canceled
* | | nixos.users-groups: Set up subuid/subgid mappings for all normal usersadisbladis2020-07-13
| | | | | | | | | | | | | | | | | | | | | | | | This is required by (among others) Podman to run containers in rootless mode. Other distributions such as Fedora and Ubuntu already set up these mappings. The scheme with a start UID/GID offset starting at 100000 and increasing in 65536 increments is copied from Fedora.
* | | libvirtd: don't start libvirtd-tcp.socket by defaultGraham Christensen2020-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per upstream: > libvirtd-tcp.socket - the unit file corresponding to the TCP 16509 > port for non-TLS remote access. This socket should not be configured > to start on boot until the administrator has configured a suitable > authentication mechanism.
* | | Merge pull request #92122 from nh2/qemu-vm-fix-useBootLoaderNiklas Hambüchen2020-07-06
|\ \ \ | | | | | | | | qemu-vm: Fix useBootLoader, remove `/boot` read-only restriction
| * | | qemu-vm.nix: Fix device name hardcodes on `useBootLoader`.Niklas Hambüchen2020-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
| * | | qemu-vm.nix: Do not mount `/boot` read-only.Niklas Hambüchen2020-07-04
| | | | | | | | | | | | | | | | | | | | There does not seem to be a good reason to do this, and it breaks running `nixos-rebuild boot --install-bootloader` inside the VM.
* | | | qemu-vm: treat EFI vars as state, similarly to diskImageDaniel Fullmer2020-07-06
| | | |
* | | | qemu-vm: add EFI support for aarch64Daniel Fullmer2020-07-06
| | | |
* | | | qemu-vm: split EFI NVRAM into CODE and VARSDaniel Fullmer2020-07-06
| | | |
* | | | qemu-vm: allow bootloader to set EFI varsDaniel Fullmer2020-07-06
| | | | | | | | | | | | | | | | | | | | | | | | Without this, systemd-boot does not add an EFI boot entry for itself. The reason it worked before this fix is because it would fall back to the default installed \EFI\BOOT\BOOTX64.EFI
* | | | Merge pull request #86473 from bachp/virtualbox-vmsvgaJan Tojnar2020-07-05
|\ \ \ \ | |/ / / |/| | |
| * | | nixos/virtualbox-image: change graphics adapter to vmswgaPascal Bach2020-06-17
| | | |
| * | | nixos/virtualbox-guest: add vmware driverPascal Bach2020-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VMSGVA is recommended by virtualbox for Linux clients. Compared to VBoxVGA and VBoxSVGA it also supports 3D acceleration. Adding the driver makes nixos work with all three supported graphics card types.
* | | | nixos/qemu-vm: Don't assume boot drive is always vdbChuck2020-07-04
| | | |
* | | | nixos/qemu-vm: Generalize drive namingChuck2020-07-03
| | | |
* | | | nixos/qemu-vm: Refactor: Combine duplicate disk definitionsChuck2020-07-03
| | | |
* | | | nixos/{podman,containers}: libpod.conf -> containers.confzowoq2020-06-26
|/ / /
* | | Merge pull request #89814 from alexfmpe/patch-3Lassulus2020-06-17
|\ \ \ | | | | | | | | Fix typo
| * | | Fix typoAlexandre Esteves2020-06-08
| | | |
* | | | Merge pull request #89540 from Patryk27/fixes/lxd-lxcfsMatthew Bauer2020-06-11
|\ \ \ \ | |/ / / |/| | | Fix `lxd`, so that it works with `lxcfs`
| * | | lxd: When `lxcfs` is enabled, start `lxd` with explicit ↵Patryk Wychowaniec2020-06-05
| | | | | | | | | | | | | | | | `LXD_LXC_TEMPLATE_CONFIG`
| * | | lxd: Add proper support for `nftables`Patryk Wychowaniec2020-06-05
| | |/ | |/|
* | | Merge pull request #88574 from JJJollyjim/qemu-vm-qboot-optFlorian Klink2020-06-08
|\ \ \ | |/ / |/| | nixos/qemu-vm: add option to use qboot
| * | nixos/qemu-vm: add option to use a non-standard BIOSJamie McClymont2020-06-08
| | | | | | | | | | | | | | | I'd like to change the default on x86 platforms to qboot at some point, since it saves a fair bit of startup time.
* | | Merge pull request #82258 from erikarvstedt/fix-xchg-cachingFlorian Klink2020-06-01
|\ \ \ | | | | | | | | fix inconsistent caching of VM xchg dirs
| * | | qemu-vm: fix inconsistent caching of xchg dirsErik Arvstedt2020-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xchg is advertised as a bidirectional exchange dir, but file content transfer from host to VM fails due to caching: If a file is read in the VM and then modified on the host, subsequent re-reads in the VM can yield old, cached data. This is caused by the use of 9p's cache=loose mode that is explicitly meant for read-only mounts. 9p doesn't provide any suitable cache modes, so fix this by disabling caching. Also, remove a now unnecessary sync in the test driver.
* | | | nixos/libvirtd: correct spellingjakobrs2020-05-31
| |/ / |/| | | | | formally -> formerly
* | | nixos/kvmgt: allow multiple uuids on same mdevEdmund Wu2020-05-30
| | |
* | | nixos/cri-o: default to upstream pausezowoq2020-05-25
| | |
* | | nixos/cri-o: add runtime optionzowoq2020-05-25
| | |
* | | nixos/cri-o, cri-o: add wrapperzowoq2020-05-25
| | |
* | | cri-o: update module configurationSascha Grunert2020-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Update the default pause image - Set the cgroup manager to systemd - Enable `manage_ns_lifecycle` instead of the deprecated `manage_network_ns_lifecycle` option Signed-off-by: Sascha Grunert <sgrunert@suse.com>
* | | virtualisation: add vmware-image (#88523)Evan Stoll2020-05-22
| | |
* | | nixos/azure-agent: always run systemctl of the currently running systemdFlorian Klink2020-05-21
| | |
* | | virtualisation/hyperv-image: remove diskImage after vhdx is generatedEvan Stoll2020-05-20
| | |
* | | rkt: removezowoq2020-05-16
| | |
* | | nixos/libvirtd: use polkit for authJaka Hudoklin2020-05-13
| | |
* | | Merge branch 'staging-next'Vladimír Čunát2020-05-06
|\ \ \ | | | | | | | | | | | | | | | | Status on Hydra for linuxes seems good enough: https://hydra.nixos.org/eval/1585703?filter=linux&compare=1585482&full=#tabs-now-fail
| * \ \ Merge master into staging-nextFrederik Rietdijk2020-05-05
| |\ \ \
| * \ \ \ Merge pull request #86445 from zowoq/podman-stagingJörg Thalheim2020-05-04
| |\ \ \ \
| | * | | | podman: use $out instead of $bin with buildGoPackagezowoq2020-05-01
| | | | | |
| * | | | | Merge master into staging-nextFrederik Rietdijk2020-05-02
| |\ \ \ \ \ | | |/ / / / | |/| | | |