Merge "Update osc server create to have type as positional arg"
This commit is contained in:
commit
a6d567fae0
@ -945,8 +945,8 @@ function get_or_create_service {
|
|||||||
openstack service show $1 -f value -c id 2>/dev/null ||
|
openstack service show $1 -f value -c id 2>/dev/null ||
|
||||||
# Creates new service if not exists
|
# Creates new service if not exists
|
||||||
openstack service create \
|
openstack service create \
|
||||||
$1 \
|
$2 \
|
||||||
--type=$2 \
|
--name $1 \
|
||||||
--description="$3" \
|
--description="$3" \
|
||||||
-f value -c id
|
-f value -c id
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user