зеркало из https://github.com/Azure/azurehpc.git
13 строки
378 B
Bash
13 строки
378 B
Bash
|
#!/bin/bash
|
||
|
#
|
||
|
MGMT_HOSTNAME=$1
|
||
|
|
||
|
yum install -y beegfs-client beegfs-helperd beegfs-utils
|
||
|
|
||
|
sed -i 's/^sysMgmtdHost.*/sysMgmtdHost = '$MGMT_HOSTNAME'/g' /etc/beegfs/beegfs-client.conf
|
||
|
sed -i 's/^sysMgmtdHost.*/sysMgmtdHost = '$MGMT_HOSTNAME'/g' /etc/beegfs/beegfs-client.conf
|
||
|
|
||
|
systemctl daemon-reload
|
||
|
systemctl enable beegfs-helperd.service
|
||
|
systemctl enable beegfs-client.service
|