diff options
author | 2019-04-26 10:28:32 -0700 | |
---|---|---|
committer | 2019-04-26 10:28:32 -0700 | |
commit | 1dde733c6559f457100df88881fdf37f98736b06 (patch) | |
tree | ee640e356049cefce57c6326e4afd838947285c0 /deployment/heat/onap-oom/k8s_vm_init.sh | |
parent | c12b184ae4be01578088e861289c20b95c1c485b (diff) |
Remove old Rancher-based deployment scripts
Remove the old Rancher-based deployment scripts now
that we're moving to RKE.
Change-Id: I54356e77cf38076e4b2ac21f4fcd682586f40205
Issue-ID: OOM-1598
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment/heat/onap-oom/k8s_vm_init.sh')
-rw-r--r-- | deployment/heat/onap-oom/k8s_vm_init.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/deployment/heat/onap-oom/k8s_vm_init.sh b/deployment/heat/onap-oom/k8s_vm_init.sh deleted file mode 100644 index 5d162cb87..000000000 --- a/deployment/heat/onap-oom/k8s_vm_init.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -x -# Copyright 2018 Huawei Technologies Co., Ltd. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -RANCHER_IMAGES=$(docker images | grep rancher | wc -l) -if [ $RANCHER_IMAGES -eq 0 ]; then - while [ ! -e /dockerdata-nfs/rancher_agent_cmd.sh ]; do - mount /dockerdata-nfs - sleep 10 - done - - cd ~ - cp /dockerdata-nfs/rancher_agent_cmd.sh . - sed -i "s/docker run/docker run -e CATTLE_HOST_LABELS='__host_label__=true' -e CATTLE_AGENT_IP=__host_private_ip_addr__/g" rancher_agent_cmd.sh - source rancher_agent_cmd.sh -fi |