Michal Ptacek | 7168a9a | 2019-11-04 06:45:08 +0000 | [diff] [blame^] | 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | set -xe |
| 4 | |
| 5 | ROBOT_POD=`kubectl get pods | grep robot | awk {'print $1'}` |
| 6 | ROBOT_HOME="/var/opt/ONAP" |
| 7 | |
| 8 | # distribute example private key onap-dev |
| 9 | kubectl 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 |
| 17 | kubectl cp base_vfw.yaml ${ROBOT_POD}:${ROBOT_HOME}/demo/heat/vFW/base_vfw.yaml |