Skip to content

Commit d26488d

Browse files
committedApr 20, 2016
Merge pull request #17 from designate-dns/ionrock/use-os-client
Use openstack client rather than keystone
2 parents 899e5d4 + 8db9156 commit d26488d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎files/install-designate.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,11 @@ sudo start designate-pool-manager
6767
# First set user 'admin' particulars then create service and endpoint
6868
source /home/vagrant/openrc.admin
6969

70-
keystone service-list | grep designate | awk '{print $2}' | xargs --no-run-if-empty -n 1 keystone service-delete
70+
openstack service list -f value | grep designate | awk '{print $1}' | xargs --no-run-if-empty -n 1 openstack service delete
7171

72-
keystone service-create --name designate --type dns --description "Designate Service"
73-
keystone endpoint-create --service designate --publicurl http://127.0.0.1:9001 --adminurl http://127.0.0.1:9001 --internalurl http://127.0.0.1:9001
72+
openstack service create --name designate --description "Designate Service" dns
73+
74+
openstack endpoint create designate --adminurl http://127.0.0.1:9001 --publicurl http://127.0.0.1:9001 --internalurl http://127.0.0.1:9001
7475

7576
# Install Designate Client
7677
cd /home/vagrant/python-designateclient

0 commit comments

Comments
 (0)
Please sign in to comment.