Custom Search

Sunday, November 22, 2015

ironic find ipmi address of all ironic nodes

1)
$for x in $(ironic node-list | awk '{ print $2 }'); do ironic node-show $x | grep ipmi_address; done

OR

$for x in $(ironic node-list | awk '{ print $2 }');
do
ironic node-show $x | grep ipmi_address;
done


No comments:

Post a Comment