Skip to content
Snippets Groups Projects
Commit 14408368 authored by Elena Gryaznova's avatar Elena Gryaznova
Browse files

b=17477

i=Huang Hua
check_config fn default network type fix
parent c5d61683
No related merge requests found
...@@ -1047,6 +1047,7 @@ check_config () { ...@@ -1047,6 +1047,7 @@ check_config () {
echo Checking config lustre mounted on $mntpt echo Checking config lustre mounted on $mntpt
local mgshost=$(mount | grep " $mntpt " | awk -F@ '{print $1}') local mgshost=$(mount | grep " $mntpt " | awk -F@ '{print $1}')
mgshost=$(echo $mgshost | awk -F: '{print $1}')
if [ "$mgshost" != "$mgs_HOST" ]; then if [ "$mgshost" != "$mgs_HOST" ]; then
FAIL_ON_ERROR=true \ FAIL_ON_ERROR=true \
error "Bad config file: lustre is mounted with mgs $mgshost, but mgs_HOST=$mgs_HOST error "Bad config file: lustre is mounted with mgs $mgshost, but mgs_HOST=$mgs_HOST
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment