add ananas, set it raft server instead of dahlia
This commit is contained in:
parent
e71ca8fe11
commit
e06d6b14a3
6 changed files with 27 additions and 3 deletions
|
@ -67,6 +67,12 @@
|
|||
address = "10.83.4.1";
|
||||
endpoint = "82.65.41.110:33741";
|
||||
};
|
||||
"ananas" = {
|
||||
siteName = "scorpio";
|
||||
publicKey = "YC78bXUaAQ02gz0bApenM4phIo/oMPR78QCmyG0tay4=";
|
||||
address = "10.83.4.2";
|
||||
endpoint = "82.65.41.110:33742";
|
||||
};
|
||||
};
|
||||
|
||||
# Bootstrap IPs for Consul cluster,
|
||||
|
|
|
@ -7,6 +7,5 @@ df-ymf.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB2el374ejNXqF+
|
|||
celeri.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOuY1CvhxBP9BtKkTlmOUu6Hhy8OQTB3R8OCFXbHA/RA
|
||||
concombre.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL3N0QOFNGkCpVLuOHFdpnBaxIFH925KpdIHV/3F9+BR
|
||||
courgette.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPCXJeo6yeQeTN7D7OZwLd8zbyU1jWywlhQ29yyk7x+G
|
||||
192.168.1.115 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPhHUQtc5lukPMFkiWf/sTgaUpwNFXHCJoQKu4ooRFy+
|
||||
192.168.1.41 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPhHUQtc5lukPMFkiWf/sTgaUpwNFXHCJoQKu4ooRFy+
|
||||
abricot.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPhHUQtc5lukPMFkiWf/sTgaUpwNFXHCJoQKu4ooRFy+
|
||||
ananas.machine.deuxfleurs.fr ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHs0zAyBy70oyV56qaMaMAKR7VjEDnsm5LEyZJbM95BL
|
||||
|
|
15
cluster/prod/node/ananas.nix
Normal file
15
cluster/prod/node/ananas.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Configuration file local to this node
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.timeout = 20;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
deuxfleurs.hostName = "ananas";
|
||||
deuxfleurs.staticIPv4.address = "192.168.1.42";
|
||||
deuxfleurs.staticIPv6.address = "2a01:e0a:e4:2dd0::42";
|
||||
deuxfleurs.isRaftServer = true;
|
||||
}
|
1
cluster/prod/node/ananas.site.nix
Symbolic link
1
cluster/prod/node/ananas.site.nix
Symbolic link
|
@ -0,0 +1 @@
|
|||
../site/scorpio.nix
|
|
@ -10,5 +10,4 @@
|
|||
deuxfleurs.hostName = "dahlia";
|
||||
deuxfleurs.staticIPv4.address = "192.168.1.11";
|
||||
deuxfleurs.staticIPv6.address = "2a01:e0a:28f:5e60::11";
|
||||
deuxfleurs.isRaftServer = true;
|
||||
}
|
||||
|
|
|
@ -29,3 +29,7 @@ Host df-ymk
|
|||
|
||||
Host abricot
|
||||
HostName abricot.machine.deuxfleurs.fr
|
||||
|
||||
Host ananas
|
||||
HostName ananas.machine.deuxfleurs.fr
|
||||
|
||||
|
|
Loading…
Reference in a new issue