mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(kuwubernetes): local ip
This commit is contained in:
parent
3f2b0ab1dc
commit
b4cf38ec0e
1 changed files with 5 additions and 3 deletions
|
|
@ -75,13 +75,15 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.network.networks.eth0 = {
|
systemd.network.networks.ens18 = {
|
||||||
name = "eth0";
|
name = "ens18";
|
||||||
matchConfig = {
|
matchConfig = {
|
||||||
MACAddress = "BC:24:11:49:FE:DC";
|
MACAddress = "BC:24:11:49:FE:DC";
|
||||||
Type = "ether";
|
Type = "ether";
|
||||||
};
|
};
|
||||||
DHCP = "ipv4";
|
address = [ "10.1.1.42/24" ];
|
||||||
|
gateway = [ "10.1.1.1" ];
|
||||||
|
DHCP = "no";
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.defaultSopsFile = ./secrets.yaml;
|
sops.defaultSopsFile = ./secrets.yaml;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue