Revise setup-service
Revise setup-service about creating endpoint with openstackclient. Change-Id: Ie286649a671125730ea4df23d6ce39fdff9bf674
This commit is contained in:
parent
0f3444d506
commit
b3bc0459bb
|
@ -35,19 +35,12 @@ if [[ -z $SERVICE_ID ]]; then
|
|||
exit
|
||||
fi
|
||||
|
||||
#openstack endpoint create \
|
||||
# --adminurl "http://$HOST:$PORT/v1/\$(project_id)s" \
|
||||
# --publicurl "http://$HOST:$PORT/v1/\$(project_id)s" \
|
||||
# --internalurl "http://$HOST:$PORT/v1/\$(project_id)s" \
|
||||
# --region RegionOne \
|
||||
# bilean
|
||||
|
||||
openstack endpoint create bilean admin \
|
||||
"http://$HOST:$PORT/v1/\$(project_id)s" --region RegionOne
|
||||
openstack endpoint create bilean public \
|
||||
"http://$HOST:$PORT/v1/\$(project_id)s" --region RegionOne
|
||||
openstack endpoint create bilean internal \
|
||||
"http://$HOST:$PORT/v1/\$(project_id)s" --region RegionOne
|
||||
openstack endpoint create \
|
||||
--adminurl "http://$HOST:$PORT/v1/\$(project_id)s" \
|
||||
--publicurl "http://$HOST:$PORT/v1/\$(project_id)s" \
|
||||
--internalurl "http://$HOST:$PORT/v1/\$(project_id)s" \
|
||||
--region RegionOne \
|
||||
bilean
|
||||
|
||||
openstack user create \
|
||||
--password "$SVC_PASSWD" \
|
||||
|
|
Loading…
Reference in New Issue