networking: add wg hostnames
This commit is contained in:
parent
ef36724352
commit
2d14369f78
3 changed files with 9 additions and 0 deletions
|
|
@ -27,6 +27,8 @@
|
||||||
192.168.100.12 butterfly
|
192.168.100.12 butterfly
|
||||||
192.168.100.13 winter
|
192.168.100.13 winter
|
||||||
192.168.100.14 apricot
|
192.168.100.14 apricot
|
||||||
|
|
||||||
|
10.100.0.1 fondue
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,5 +9,10 @@
|
||||||
}];
|
}];
|
||||||
defaultGateway = "192.168.100.1";
|
defaultGateway = "192.168.100.1";
|
||||||
nameservers = [ "8.8.8.8" ];
|
nameservers = [ "8.8.8.8" ];
|
||||||
|
|
||||||
|
extraHosts = ''
|
||||||
|
10.100.0.2 apricot
|
||||||
|
10.100.0.3 winter
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@
|
||||||
192.168.100.12 butterfly
|
192.168.100.12 butterfly
|
||||||
192.168.100.13 winter
|
192.168.100.13 winter
|
||||||
192.168.100.14 apricot
|
192.168.100.14 apricot
|
||||||
|
|
||||||
|
10.100.0.1 fondue
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue