Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

After posting the question I just found what I wanted. There is the openstack command that I didn't know that existed (yum install python-openstackclient in fedora) that covers what I need:

status="$(openstack server show -c status --format value my-instance-name)"