steveej-t480s-work: DNS reconfig and libvirtd listen on tcp

This commit is contained in:
steveej 2018-12-17 13:15:21 +01:00
parent 8803f835b8
commit 4841bce338

View file

@ -10,11 +10,9 @@ in {
# TASK: new device # TASK: new device
networking.hostName = "steveej-t480s-work"; # Define your hostname. 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 = '' environment.etc."NetworkManager/dnsmasq.d/tectonic.conf".text = ''
server=/tt.testing/192.168.124.1 server=/openshift.testing/192.168.126.1
server=/tectonic-ci.de/192.168.124.1
server=/tectonic-ci.lan/192.168.124.1
''; '';
networking.firewall.enable = lib.mkForce false; networking.firewall.enable = lib.mkForce false;
networking.firewall.checkReversePath = false; networking.firewall.checkReversePath = false;
@ -46,7 +44,18 @@ in {
# virtualization # virtualization
virtualisation = { 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.enable = true;
virtualbox.host.addNetworkInterface = true; virtualbox.host.addNetworkInterface = true;
docker.enable = true; docker.enable = true;