blob: 80c9611324196449acbba64629daf85b61a6b844 [file] [log] [blame]
Michal Ptacek7168a9a2019-11-04 06:45:08 +00001#!/usr/bin/env bash
2
3set -xe
4
5ROBOT_POD=`kubectl get pods | grep robot | awk {'print $1'}`
6ROBOT_HOME="/var/opt/ONAP"
7
8# distribute example private key onap-dev
9kubectl cp onap-dev.pem ${ROBOT_POD}:${ROBOT_HOME}/onap-dev.pem
10
11# stability improvement for SRPOL lab
12# there is an issue that cloudinit is randomly putting default route
13# on interfaces w/o internet connectivity
14# this patch assume that we are using rc3-offline-network as public network for vFW VMs
15# vFW VMs are installing SW in runtime, similarly as other ONAP demo usecases
16# please note that such network must be reachable from robot pod
17kubectl cp base_vfw.yaml ${ROBOT_POD}:${ROBOT_HOME}/demo/heat/vFW/base_vfw.yaml