Merge pull request #323728 from michaelfranzl/add-regression-test-libvirt-nss

Regression test for libvirt NSS modules
This commit is contained in:
Florian Klink 2024-07-03 14:58:21 +03:00 committed by GitHub
commit 6413876162
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
};
};