From 4841bce338966d51e98840951803b11722fd197b Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Mon, 17 Dec 2018 13:15:21 +0100 Subject: [PATCH] steveej-t480s-work: DNS reconfig and libvirtd listen on tcp --- nix/os/devices/steveej-t480s-work/system.nix | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/nix/os/devices/steveej-t480s-work/system.nix b/nix/os/devices/steveej-t480s-work/system.nix index f47b808..f983cd9 100644 --- a/nix/os/devices/steveej-t480s-work/system.nix +++ b/nix/os/devices/steveej-t480s-work/system.nix @@ -10,11 +10,9 @@ in { # TASK: new device networking.hostName = "steveej-t480s-work"; # Define your hostname. - # Used for testing local Tectonic clusters + # Used for testing local Openshift clusters environment.etc."NetworkManager/dnsmasq.d/tectonic.conf".text = '' - server=/tt.testing/192.168.124.1 - server=/tectonic-ci.de/192.168.124.1 - server=/tectonic-ci.lan/192.168.124.1 + server=/openshift.testing/192.168.126.1 ''; networking.firewall.enable = lib.mkForce false; networking.firewall.checkReversePath = false; @@ -46,7 +44,18 @@ in { # virtualization virtualisation = { - libvirtd.enable = true; + libvirtd = { + enable = true; + extraOptions = [ + "--listen" + ]; + extraConfig = '' + listen_tls = 0 + listen_tcp = 1 + auth_tcp="none" + tcp_port = "16509" + ''; + }; virtualbox.host.enable = true; virtualbox.host.addNetworkInterface = true; docker.enable = true;