Infini-DL360: setup infiniband

This commit is contained in:
Infinidoge 2024-09-12 20:28:02 -04:00
parent ab9333c203
commit 88277eab13
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E

View file

@ -171,4 +171,12 @@
KbdInteractiveAuthentication yes
PermitEmptyPasswords yes
'';
systemd.services.setup-infiniband = {
wantedBy = [ "network.target" ];
script = ''
echo "eth" > /sys/bus/pci/devices/0000:04:00.0/mlx4_port1
echo "eth" > /sys/bus/pci/devices/0000:04:00.0/mlx4_port2
'';
};
}