Skip to content

Commit

Permalink
deploy_info: fix -C/-c in bm node list
Browse files Browse the repository at this point in the history
typo, parameter for specifying column has to be lower case -c

also make xargs not attempting to run bm node show without uuid

Change-Id: I5ae0428df51ca59723eb49829f9ab54d9ef5483e
  • Loading branch information
queria committed Jun 6, 2018
1 parent fe49264 commit 55c3594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/tripleo-overcloud/templates/deploy_info.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ openstack server list | awk 'BEGIN {a=0}; /\|/{ if (a>2) print $2} {a=a+1}' | x
{% if (install.version|default(undercloud_version)|openstack_release) >= 11 %}
echo "BM node info"
openstack baremetal node list
openstack baremetal node list -f value -C UUID | xargs -n 1 openstack baremetal node show
openstack baremetal node list -f value -c UUID | xargs -r -n 1 openstack baremetal node show
{% endif %}

echo "Deployments"
Expand Down

0 comments on commit 55c3594

Please sign in to comment.