Periodic merge of staging to master #14

Merged
steveej merged 71 commits from staging into master 2019-01-18 10:53:52 +00:00
2 changed files with 18 additions and 5 deletions
Showing only changes of commit 9fae53fac7 - Show all commits

View file

@ -15,12 +15,17 @@ in {
# iperf3 # iperf3
5201 5201
]; ];
networking.useDHCP = true;
networking.usePredictableInterfaceNames = false;
networking.interfaces.eth0 = { networking.interfaces.eth0 = {
useDHCP = true; ipv6.addresses = [
ipv6.addresses = [ { { address = "2a02:c207:3003:2387::1"; prefixLength = 64; }
address = "2a02:c207:3003:2387::1"; ];
prefixLength = 64; };
} ]; networking.defaultGateway6 = {
address = "fe80::1";
interface = "eth0";
}; };
# Kubernetes # Kubernetes
@ -43,4 +48,12 @@ in {
authorizedKeys = keys.users.steveej.openssh; authorizedKeys = keys.users.steveej.openssh;
}; };
}; };
boot.initrd.postMountCommands = ''
for iface in $(cd /sys/class/net && ls); do
echo "Bringing down $iface..."
ip address flush dev $iface
ip link set $iface down
done
'';
} }