Change IP parsing to not depend on spaces in names 39/15839/2
authorStanislaw Kardach <stanislaw.kardach@cavium.com>
Fri, 17 Jun 2016 17:55:53 +0000 (19:55 +0200)
committerJose Lausuch <jose.lausuch@ericsson.com>
Sat, 18 Jun 2016 18:34:31 +0000 (18:34 +0000)
commit622002bea0a0eda42e9a76d14af4bdff47c692d6
tree82f533ce65183f4a26c868cb551a23f7dac277a9
parent4328b35d1a3221e7461cc6e5cc33e7ecae4cba4e
Change IP parsing to not depend on spaces in names

Prior method of extracting the controller IP was relying on the fact
that default node names have spaces in them and hence generate 9 fields
before the IP address.
This change proposes to change awk tokenizing to divide string by
column separator in `fuel node` output.

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
utils/fetch_os_creds.sh