feat: fixed how sometimes updating servers mean that ye had to reset teh MAC address in Proxmox.
Some checks failed
Build_Deploy / build (push) Successful in 3m40s
Build_Deploy / linter (push) Successful in 5m19s
Build_Deploy / deploy_dns (push) Failing after 2m59s
Build_Deploy / deploy_active (active) (push) Has been skipped
Build_Deploy / deploy_active (active-core) (push) Has been skipped
Build_Deploy / deploy_active (active-ext) (push) Has been skipped

This is done by letting each server manage its own network interface.
This commit is contained in:
silver 2025-06-18 03:14:35 +01:00
parent 4fc1071225
commit 5ca3265cc1
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
6 changed files with 35 additions and 41 deletions

View file

@ -22,14 +22,14 @@ Notes: Using the server that used to be called Earth
ip = ip_pub;
name = name;
hostname = hostname;
# only required for physical servers
interface = "en01";
};
in {
imports = [
./hardware/RM002.nix
];
networking.hostName = name;
deployment = {
targetHost = ip_pub;
targetPort = 22;
@ -38,18 +38,6 @@ in {
tags = ["active-dns" "dns"];
};
networking = {
# needs to have an address statically assigned
defaultGateway.interface = lib.mkForce "eno1";
interfaces.eno1.ipv4.addresses = [
{
address = "193.1.99.120";
prefixLength = 26;
}
];
};
services.skynet = {
host = host;
backup.enable = true;