mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
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.
This commit is contained in:
parent
427798268c
commit
ad3a0dd8fb
|
@ -61,7 +61,7 @@ in
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
[ pkgs.libvirt ]
|
[ pkgs.libvirt pkgs.netcat-openbsd ]
|
||||||
++ optional cfg.enableKVM pkgs.qemu_kvm;
|
++ optional cfg.enableKVM pkgs.qemu_kvm;
|
||||||
|
|
||||||
boot.kernelModules = [ "tun" ];
|
boot.kernelModules = [ "tun" ];
|
||||||
|
|
Loading…
Reference in a new issue