mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
Add regression test for libvirt NSS modules
This is a regression test for the implementation in
412543ddd8
which was fixed in #322022.
This commit is contained in:
parent
c2586ca239
commit
90bb205387
|
@ -20,6 +20,11 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
|||
networking.hostId = "deadbeef"; # needed for zfs
|
||||
security.polkit.enable = true;
|
||||
environment.systemPackages = with pkgs; [ virt-manager ];
|
||||
|
||||
# This adds `resolve` to the `hosts` line of /etc/nsswitch.conf; NSS modules placed after it
|
||||
# will not be consulted. Therefore this tests that the libvirtd NSS modules will be
|
||||
# be placed early enough for name resolution to work.
|
||||
services.resolved.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue