allomov
3/9/2016 - 2:19 PM

getting external gateway for terraform and ubuntu_trusty_image_id

getting external gateway for terraform and ubuntu_trusty_image_id

pip install python-openstackclient

ubuntu_trusty_image_id := $(openstack image list -f json | jq -c '.[] | select(.Name | contains("Ubuntu")) | .ID' | head -1)
external_gateway_id := $(openstack network list -f value -c ID)