Skip to content

Instantly share code, notes, and snippets.

@tellesnobrega
Last active April 2, 2018 19:10
Show Gist options
  • Save tellesnobrega/2dff2e79d3378971409e0805abc347f6 to your computer and use it in GitHub Desktop.
Save tellesnobrega/2dff2e79d3378971409e0805abc347f6 to your computer and use it in GitHub Desktop.
IP=$1
openstack service delete sahara
openstack service create --name sahara data-processing
openstack endpoint create sahara public 'http://$IP:8386/v1.1/%(tenant_id)s' --region RegionOne
openstack endpoint create sahara admin 'http://$IP:8386/v1.1/%(tenant_id)s' --region RegionOne
openstack endpoint create sahara internal 'http://$IP:8386/v1.1/%(tenant_id)s' --region RegionOne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment