mirror of
https://github.com/elitak/nixos-infect.git
synced 2024-12-23 00:28:28 +03:00
update ip4/ip6 configuration keys per 18.03 warnings
This commit is contained in:
parent
769dce60c9
commit
6f696404e9
1 changed files with 2 additions and 2 deletions
|
@ -53,10 +53,10 @@ EOF
|
|||
gateway6=$(ip -6 route show dev "$eth1_name" | grep default | sed -r 's|default via ([0-9a-f:]+).*|\1|' || true)
|
||||
interfaces1=<< EOF
|
||||
$eth1_name = {
|
||||
ip4 = [$(for a in "${eth1_ip4s[@]}"; do echo -n "
|
||||
ipv4.addresses = [$(for a in "${eth1_ip4s[@]}"; do echo -n "
|
||||
$a"; done)
|
||||
];
|
||||
ip6 = [$(for a in "${eth1_ip6s[@]}"; do echo -n "
|
||||
ipv6.addresses = [$(for a in "${eth1_ip6s[@]}"; do echo -n "
|
||||
$a"; done)
|
||||
];
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue