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
diff --git a/functions-common b/functions-common
index 5bca836..ce809f1 100644
--- a/functions-common
+++ b/functions-common
@@ -945,8 +945,8 @@
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
)