forked from Fachschaft/nixConfig
populate ip address based on hostname and populate the hostfile with other vm ips
This commit is contained in:
parent
a6db8ef50f
commit
ec77890814
8 changed files with 104 additions and 56 deletions
57
nixos/roles/hostmap.nix
Normal file
57
nixos/roles/hostmap.nix
Normal file
|
@ -0,0 +1,57 @@
|
|||
# This data is taken from /etc/hosts from azatoth
|
||||
{
|
||||
bragi = {
|
||||
ipv4 = "192.168.1.11";
|
||||
};
|
||||
tsathoggua = {
|
||||
ipv4 = "192.168.0.13";
|
||||
};
|
||||
nyogtha = {
|
||||
ipv4 = "192.168.0.14";
|
||||
};
|
||||
hastur = {
|
||||
ipv4 = "192.168.0.15";
|
||||
};
|
||||
cthulhu = {
|
||||
ipv4 = "192.168.0.16";
|
||||
};
|
||||
nyarlathotep = {
|
||||
ipv4 = "192.168.0.17";
|
||||
};
|
||||
nodens = {
|
||||
ipv4 = "192.168.0.18";
|
||||
};
|
||||
uvhash = {
|
||||
ipv4 = "192.168.0.19";
|
||||
};
|
||||
aphoom-zhah = {
|
||||
ipv4 = "192.168.0.20";
|
||||
};
|
||||
dagon = {
|
||||
ipv4 = "192.168.0.21";
|
||||
};
|
||||
lobon = {
|
||||
ipv4 = "192.168.0.22";
|
||||
};
|
||||
yibb-tstll = {
|
||||
ipv4 = "192.168.0.23";
|
||||
};
|
||||
eihort = {
|
||||
ipv4 = "192.168.0.24";
|
||||
};
|
||||
ghatanothoa = {
|
||||
ipv4 = "192.168.0.25";
|
||||
};
|
||||
toth = {
|
||||
ipv4 = "192.168.0.26";
|
||||
};
|
||||
ithaqua = {
|
||||
ipv4 = "192.168.0.27";
|
||||
};
|
||||
cthugha = {
|
||||
ipv4 = "192.168.0.30";
|
||||
};
|
||||
sanctamariamaterdei = {
|
||||
ipv4 = "192.168.0.92";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue