From ad3a0dd8fb5ada5313c8ccfb2b99e54b46d008f8 Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Thu, 17 Oct 2013 14:17:29 +0200 Subject: [PATCH] nixos/libvirtd: fix remote ssh managment by adding netcat-openbsd in system packages Virsh/virt-manager uses ssh to connect to master, there it expects openbsd netcat(which has support for unix sockets) to be avalible, to make a tunnel. Close #1087. --- nixos/modules/virtualisation/libvirtd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/libvirtd.nix b/nixos/modules/virtualisation/libvirtd.nix index 52dab153094d..280143d4e3f2 100644 --- a/nixos/modules/virtualisation/libvirtd.nix +++ b/nixos/modules/virtualisation/libvirtd.nix @@ -61,7 +61,7 @@ in config = mkIf cfg.enable { environment.systemPackages = - [ pkgs.libvirt ] + [ pkgs.libvirt pkgs.netcat-openbsd ] ++ optional cfg.enableKVM pkgs.qemu_kvm; boot.kernelModules = [ "tun" ];