Infini-DL360: setup infiniband
This commit is contained in:
parent
ab9333c203
commit
88277eab13
1 changed files with 8 additions and 0 deletions
|
@ -171,4 +171,12 @@
|
||||||
KbdInteractiveAuthentication yes
|
KbdInteractiveAuthentication yes
|
||||||
PermitEmptyPasswords 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
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue