diff --git a/scripts/beegfs-admon.sh b/scripts/beegfs-admon.sh index 9deebc45..580f5122 100755 --- a/scripts/beegfs-admon.sh +++ b/scripts/beegfs-admon.sh @@ -4,7 +4,8 @@ BEEGFS_MGMT_HOST=$1 # yum install -y xauth yum install -y beegfs-admon +yum install -y java -sed -i 's/^sysMgmtdHost.*/sysMgmtdHost = '$MGMT_MGMT_HOST'/g' /etc/beegfs/beegfs-admon.conf +sed -i 's/^sysMgmtdHost.*/sysMgmtdHost = '$BEEGFS_MGMT_HOST'/g' /etc/beegfs/beegfs-admon.conf # systemctl start beegfs-admon.service