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
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:
parent
4fc1071225
commit
5ca3265cc1
6 changed files with 35 additions and 41 deletions
|
@ -22,25 +22,13 @@ Notes:
|
|||
ip = ip_pub;
|
||||
name = name;
|
||||
hostname = hostname;
|
||||
interface = "en01";
|
||||
};
|
||||
in {
|
||||
imports = [
|
||||
./hardware/RM007.nix
|
||||
];
|
||||
|
||||
networking.hostName = name;
|
||||
# this has to be defined for any physical servers
|
||||
# vms are defined by teh vm host
|
||||
networking = {
|
||||
defaultGateway.interface = lib.mkForce "eno1";
|
||||
interfaces.eno1.ipv4.addresses = [
|
||||
{
|
||||
address = ip_pub;
|
||||
prefixLength = 26;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
deployment = {
|
||||
targetHost = hostname;
|
||||
targetPort = 22;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue