Set hostname and hostId
This commit is contained in:
parent
4f0bd6065b
commit
9ac2ca48b1
|
@ -3,12 +3,14 @@
|
||||||
{
|
{
|
||||||
# Assign a static IP
|
# Assign a static IP
|
||||||
networking = {
|
networking = {
|
||||||
|
hostName = "unit";
|
||||||
|
hostId = "737d82f4";
|
||||||
interfaces.eth0 = {
|
interfaces.eth0 = {
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
addresses = {
|
ipv4.addresses = [{
|
||||||
address = "10.0.1.3";
|
address = "10.0.1.3";
|
||||||
prefixLength = 24;
|
prefixLength = 24;
|
||||||
};
|
}];
|
||||||
};
|
};
|
||||||
defaultGateway = {
|
defaultGateway = {
|
||||||
address = "10.0.1.1";
|
address = "10.0.1.1";
|
||||||
|
|
Loading…
Reference in New Issue