networking: add extraHosts
This commit is contained in:
parent
7b3025c984
commit
a465af7a93
2 changed files with 16 additions and 0 deletions
|
|
@ -19,5 +19,13 @@
|
||||||
}];
|
}];
|
||||||
defaultGateway = "192.168.100.1";
|
defaultGateway = "192.168.100.1";
|
||||||
nameservers = [ "8.8.8.8" ];
|
nameservers = [ "8.8.8.8" ];
|
||||||
|
|
||||||
|
extraHosts = ''
|
||||||
|
192.168.100.10 strawberry
|
||||||
|
192.168.100.11 peach
|
||||||
|
192.168.100.12 butterfly
|
||||||
|
192.168.100.13 winter
|
||||||
|
192.168.100.14 apricot
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -19,5 +19,13 @@
|
||||||
}];
|
}];
|
||||||
defaultGateway = "192.168.100.1";
|
defaultGateway = "192.168.100.1";
|
||||||
nameservers = [ "8.8.8.8" ];
|
nameservers = [ "8.8.8.8" ];
|
||||||
|
|
||||||
|
extraHosts = ''
|
||||||
|
192.168.100.10 strawberry
|
||||||
|
192.168.100.11 peach
|
||||||
|
192.168.100.12 butterfly
|
||||||
|
192.168.100.13 winter
|
||||||
|
192.168.100.14 apricot
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue