packet machines: delete, import instead
Graham Christensen committed
Sep 29, 2019 at 23:53 UTC
939e0c0c2918758a5b29f037eaefec04fe40bd09
3 files changed
-64
delft/eris.nix
-10
@@ -9,11 +9,6 @@ in {
9
10
11
networking.extraHosts = ''
12
- 147.75.79.198 packet-t2a-2
13
- 147.75.198.170 packet-t2a-3
14
- 147.75.74.238 packet-t2a5-qc-centriq-1
15
- 147.75.107.178 packet-t2a6-ampere-1
16
-
12
10.254.1.1 bastion
13
10.254.1.2 chef
14
10.254.1.3 ceres
@@ -22,8 +17,6 @@ in {
17
10.254.1.6 hydra
18
10.254.1.7 lucifer
19
10.254.1.8 wendy
25
- 10.254.1.9 packet-epyc-1
26
- 10.254.1.10 packet-t2-4
20
21
'' + (toString (flip mapAttrsToList macs (machine: v: ''
22
${v.deployment.targetHost} ${machine}
@@ -69,9 +62,6 @@ in {
62
}
63
{
64
targets = [
72
- "packet-epyc-1:9100" "packet-t2-4:9100"
73
- "packet-t2a-2:9100" "packet-t2a-3:9100"
74
- "packet-t2a5-qc-centriq-1:9100" "packet-t2a6-ampere-1:9100"
65
"chef:9100"
66
];
67
labels.role = "builder";
delft/hydra.nix
-42
@@ -134,30 +134,6 @@ in
134
Host macstadium2
135
Hostname 208.78.106.252
136
Compression yes
137
-
138
- Host packet-t2-4
139
- Hostname 147.75.98.145
140
- Compression yes
141
-
142
- Host packet-t2a-2
143
- Hostname 147.75.79.198
144
- Compression yes
145
-
146
- Host packet-t2a-3
147
- Hostname 147.75.198.170
148
- Compression yes
149
-
150
- Host packet-epyc-1
151
- Hostname 147.75.198.47
152
- Compression yes
153
-
154
- Host packet-t2a5-qc-centriq-1
155
- Hostname 147.75.74.238
156
- Compression yes
157
-
158
- Host packet-c2-large-arm
159
- Hostname 147.75.107.234
160
- Compression yes
137
'';
138
139
services.openssh.knownHosts =
@@ -186,24 +162,6 @@ in
162
{ hostNames = [ "stan.ewi.tudelft.nl" "131.180.119.74" ]; publicKey = "ssh-dss AAAAB3NzaC1kc3MAAACBAL0SlYpGjDjPKrLIwoltYHHTYo/d6Ct2FQZKh4ltKOszWPYYAbs/YNSm2eFkvj0CGc3aastFuebz6+pRfvGMvqi4q6IoHwVvOkbWMadyuqrWIO+Z1YemZP/GAG69pLy+UyoydiSI83ycwPe4YARAU/cpBMNKJZbSxyrO80XatmtRAAAAFQC291WK+9M8+zI4KAtk6EqX0vqQ1QAAAIBd1YgRfdfRdu60BpR+3/YMbSYZMjRLFPyoSgmEQR2TtKfqsuKTsTREzB20iMgFlhEWb6C4r5y6jYDU85OOnvpf7zne22j6bKFDIiAbgsjUFHK1EB7+TBltf5yqq0FyNOy/PnLqVzOeGaUeCOc3Ris71Lxkm60oVF4mjut2d2UJ6AAAAIByuCH1bIIRb4za4yiiFQUz2CBX1XHhBn/h/LhNMLuyCTciG6tkppGBAgq5rWrNhjaEc7dIFgZR+E1wE5PQzWG/TBiXctwCOqOOErDB5b95jO2EntIhi8x5PO9Ef6jgis4QRsBIZiENDDeQHxFHCv4q+10TpyV+625O8TXkkcxl0g=="; }
163
{ hostNames = [ "wendy.ewi.tudelft.nl" "131.180.119.77" ]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBQOW9V+azndhOiWApltwo7Khnc5/MNEAW8Rf5J/NyBx"; }
164
189
- # packet-t2-4
190
- { hostNames = [ "147.75.98.145" ]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIABlJeKJ2B5mgK8TujC3FZ7geAOzQFUDJpay6a8Utdg6"; }
191
-
192
- # packet-t2a-2
193
- { hostNames = [ "147.75.79.198" ]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDCo+z5d8C6SpCyvC8KAPMAcMEtd5J74tRsk+7sm2KgD"; }
194
-
195
- # packet-t2a-3
196
- { hostNames = [ "147.75.198.170" ]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPieDw5aeaN88HMIye2t4tL6DBqgJwQbXH0PzPd0HOVl"; }
197
-
198
- # packet-t2a5-qc-centriq-1
199
- { hostNames = [ "147.75.74.238" ]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJTGvykBvR6l4d0ssReNLMV2qVV+TKNUrU22OOix//qE"; }
200
-
201
- # packet-c2-large-arm
202
- { hostNames = [ "147.75.107.234" ]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHsY9skBvQx3mMFrMyR2zwK50OMEu5Xzw4tMLBH4Nzum"; }
203
-
204
- # packet-epyc-1
205
- { hostNames = [ "147.75.198.47" ]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAt76Jw/xXqvYcrNZSa+BEfKfLCFyvY50LZJuGBWtJwx"; }
206
-
165
{ hostNames = [ "t2m.cunat.cz" ]; publicKey = "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP9351NRVeQYvNV1bBbC5MX0iSmrXhVcBYMcn6AMo11U2zlOYRqBPzGLPjz9u31t4FxHNovxCrkFTqJY9zbsmTs="; }
166
{ hostNames = [ "t2a.cunat.cz" ]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIu3itg4hn5e4KrnyoreAUN3RIbAcvqc7yWx5i6EWqAu"; }
167
{ hostNames = [ "t4a.cunat.cz" ]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILXgOInIZ+1DdWDeXBO1ILtlM53ZrYOtrBlfZ7dIzCyu"; }
modules/wireguard.nix
-12
@@ -60,18 +60,6 @@ let
60
port = 51820;
61
};
62
63
- packet-epyc-1 = {
64
- ip = "10.254.1.9";
65
- enpdoint = "147.75.198.47";
66
- port = 51820;
67
- };
68
-
69
- packet-t2-4 = {
70
- ip = "10.254.1.10";
71
- enpdoint = "147.75.98.145";
72
- port = 51820;
73
- };
74
-
63
mac1 = {
64
ip = "10.254.2.1";
65
};