Rename xeon07 to hut

This commit is contained in:
Rodrigo Arias 2023-06-14 11:15:00 +02:00
parent 70304d26ff
commit f787343f29
12 changed files with 11 additions and 11 deletions

View File

@ -73,7 +73,7 @@
10.0.40.106 xeon06-ipmi0
# Node Entry for node: xeon07 (ID=21)
10.0.40.7 xeon07 xeon07-eth0
10.0.40.7 xeon07 xeon07-eth0 hut
10.0.42.7 xeon07-ib0
10.0.40.107 xeon07-ipmi0

View File

@ -3,7 +3,7 @@
{
services.slurm = {
client.enable = true;
controlMachine = "xeon07";
controlMachine = "hut";
clusterName = "owl";
nodeName = [
"xeon[01-02,07] Sockets=2 CoresPerSocket=14 ThreadsPerCore=2 Feature=xeon"

View File

@ -32,19 +32,19 @@ sdX
## Prepare nix and nixos-install
Mount the nix store from the xeon07 node in read-only /nix.
Mount the nix store from the hut node in read-only /nix.
```
# mkdir /nix
# mount -o ro xeon07:/nix /nix
# mount -o ro hut:/nix /nix
```
Get the nix binary and nixos-install tool from xeon07:
Get the nix binary and nixos-install tool from hut:
```
# ssh xeon07 'readlink -f $(which nix)'
# ssh hut 'readlink -f $(which nix)'
/nix/store/0sxbaj71c4c4n43qhdxm31f56gjalksw-nix-2.13.3/bin/nix
# ssh xeon07 'readlink -f $(which nixos-install)'
# ssh hut 'readlink -f $(which nixos-install)'
/nix/store/9yq8ps06ysr2pfiwiij39ny56yk3pdcs-nixos-install/bin/nixos-install
```

View File

@ -52,7 +52,7 @@
./xeon02/configuration.nix
];
};
xeon07 = nixpkgs.lib.nixosSystem {
hut = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
( {options, ...}: {
@ -61,7 +61,7 @@
nix.nixPath = [
"nixpkgs=${nixpkgs}"
"bscpkgs=${bscpkgs}"
"nixos-config=${self.outPath}/xeon07/configuration.nix"
"nixos-config=${self.outPath}/hut/configuration.nix"
"nixpkgs-overlays=${self.outPath}/overlays-compat"
];
nix.registry.nixpkgs.flake = nixpkgs;
@ -72,7 +72,7 @@
else throw ("Refusing to build from a dirty Git tree!");
})
agenix.nixosModules.default
./xeon07/configuration.nix
./hut/configuration.nix
];
};
xeon08 = nixpkgs.lib.nixosSystem {

View File

@ -14,7 +14,7 @@
boot.loader.grub.device = "/dev/disk/by-id/ata-INTEL_SSDSC2BB240G7_PHDV6462004Y240AGN";
networking = {
hostName = "xeon07";
hostName = "hut";
interfaces.eno1.ipv4.addresses = [ {
address = "10.0.40.7";
prefixLength = 24;