if [[ $opts == user=root ]]; then
- root_hosts+=($host i$host)
+ # note: the b8.nz suffix is for the User part, the IdentityFile
+ # part is redundant to *.b8.nz.
+ root_hosts+=($host i$host $host.b8.nz i$host.b8.nz)
else
nonroot_hosts+=($host i$host)
fi
echo "cat <<EOF"
for host in ${!host_ips[@]}; do
ipsuf=${host_ips[$host]}
- echo "dhcp-host=${host_macs[$host]},set:$host,\$l.7,$host"
+ echo "dhcp-host=${host_macs[$host]},set:$host,\$l.$ipsuf,$host"
done
echo "EOF"
- } | u /p/dnsmaq-data
+ } | u /p/dnsmasq-data
{
for host in ${!nonvpn_ips[@]}; do