Update osc server create to have type as positional arg
In Keystone, for v2 and v3 service creation, there was a bug that allowed a service to be created with no type, which made it useless. See reference bug for details. Change-Id: I5d095007fe2ebc8219dc012c5b16cb4c122179cd Related-Bug: #1404073
This commit is contained in:
parent
62002dd88b
commit
789af5ccfa
@ -945,8 +945,8 @@ function get_or_create_service {
|
||||
openstack service show $1 -f value -c id 2>/dev/null ||
|
||||
# Creates new service if not exists
|
||||
openstack service create \
|
||||
$1 \
|
||||
--type=$2 \
|
||||
$2 \
|
||||
--name $1 \
|
||||
--description="$3" \
|
||||
-f value -c id
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user