xcat2 / xcat-inventory

An inventory tool for xcat cluster
8 stars 16 forks source link

Make sure single ip for management node #226

Closed gurevichmark closed 4 years ago

gurevichmark commented 4 years ago

Lately, like for #225, when Travis regression runs, the hostname -i returns 2 entries, and that sets xcattest variable DSTMN to be:

'DSTMN=127.0.0.1 127.0.1.1',

As a result, testcases can not deal with such setting and fail. This PR makes sure only first entry is used for setting DSTMN