diff options
author | eHanan <eoin.hanan@ericsson.com> | 2018-09-05 14:09:19 +0100 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-09-07 11:02:55 -0700 |
commit | 97b7a9c998bbb8b31b8b04e7eae5d553bbaed738 (patch) | |
tree | 954f9370fa2e0ad828d2fc850b382ef4e3ea972f /deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh | |
parent | 4d2cfb6d4df3f39d299012be1ed8fdb5b1cf460a (diff) |
Deployment Script made more flexible
Change-Id: I8322b85afdd5dfc1a88b7dbf369d3c19399b5b1e
Issue-ID: INT-611
Signed-off-by: eHanan <eoin.hanan@ericsson.com>
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh')
-rwxr-xr-x | deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh b/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh index 092b2a1fc..41c5de16a 100755 --- a/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh +++ b/deployment/heat/onap-oom/scripts/gen-onap-oom-yaml.sh @@ -16,7 +16,6 @@ if [ "$#" -ne 1 ]; then fi NUM_K8S_VMS=$1 - if [ -z "$WORKSPACE" ]; then export WORKSPACE=`git rev-parse --show-toplevel` fi @@ -34,7 +33,8 @@ cat <<EOF rancher_vm: type: OS::Nova::Server properties: - name: rancher + name: + list_join: ['-', [{ get_param: 'OS::stack_name' }, 'rancher']] image: { get_param: ubuntu_1604_image } flavor: { get_param: rancher_vm_flavor } key_name: { get_param: key_name } |