diff options
-rwxr-xr-x | kud/hosting_providers/vagrant/aio.sh | 2 | ||||
-rwxr-xr-x | kud/tests/vFW/firewall | 3 | ||||
-rwxr-xr-x | kud/tests/vFW/packetgen | 3 | ||||
-rwxr-xr-x | kud/tests/vFW/sink | 3 |
4 files changed, 8 insertions, 3 deletions
diff --git a/kud/hosting_providers/vagrant/aio.sh b/kud/hosting_providers/vagrant/aio.sh index 31663af5..0d06cc65 100755 --- a/kud/hosting_providers/vagrant/aio.sh +++ b/kud/hosting_providers/vagrant/aio.sh @@ -18,6 +18,7 @@ if [[ $(whoami) != 'root' ]];then fi echo "Cloning and configuring KUD project..." +rm -rf k8s git clone https://git.onap.org/multicloud/k8s/ cd k8s/kud/hosting_providers/baremetal/ cat <<EOL > inventory/hosts.ini @@ -47,6 +48,7 @@ kube-node kube-master EOL sed -i '/andrewrothstein.kubectl/d' ../../deployment_infra/playbooks/configure-*.yml +rm -f ~/.ssh/id_rsa echo -e "\n\n\n" | ssh-keygen -t rsa -N "" cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys chmod og-wx ~/.ssh/authorized_keys diff --git a/kud/tests/vFW/firewall b/kud/tests/vFW/firewall index 93d4f2a3..c839c4d6 100755 --- a/kud/tests/vFW/firewall +++ b/kud/tests/vFW/firewall @@ -51,7 +51,8 @@ function install_vfw_scripts { local ves_reporting_path="${ves_path}/evel/evel-library" pushd /opt - wget -q https://git.onap.org/demo/plain/vnfs/vFW/scripts/{v_firewall_init,vfirewall}.sh + wget -q "https://nexus.onap.org/content/repositories/staging/org/onap/demo/vnf/vfw/vfw-scripts/${version}/vfw-scripts-${version}.zip" + unzip "vfw-scripts-${version}.zip" chmod +x *.sh _untar_url "sample-distribution/${version}/sample-distribution-${version}-hc.tar.gz" diff --git a/kud/tests/vFW/packetgen b/kud/tests/vFW/packetgen index 51d5c676..c51cd9f8 100755 --- a/kud/tests/vFW/packetgen +++ b/kud/tests/vFW/packetgen @@ -49,7 +49,8 @@ function install_vfw_scripts { local version=$(cat /opt/config/demo_artifacts_version.txt) pushd /opt - wget -q https://git.onap.org/demo/plain/vnfs/vFW/scripts/{v_packetgen_init,vpacketgen,run_traffic_fw_demo}.sh + wget -q "https://nexus.onap.org/content/repositories/staging/org/onap/demo/vnf/vfw/vfw-scripts/${version}/vfw-scripts-${version}.zip" + unzip "vfw-scripts-${version}.zip" chmod +x *.sh _untar_url "sample-distribution/${version}/sample-distribution-${version}-hc.tar.gz" diff --git a/kud/tests/vFW/sink b/kud/tests/vFW/sink index 5604198f..ace3b389 100755 --- a/kud/tests/vFW/sink +++ b/kud/tests/vFW/sink @@ -27,7 +27,8 @@ function install_dependencies { # install_vfw_scripts() - function install_vfw_scripts { pushd /opt - wget -q https://git.onap.org/demo/plain/vnfs/vFW/scripts/{v_sink_init,vsink}.sh + wget -q "https://nexus.onap.org/content/repositories/staging/org/onap/demo/vnf/vfw/vfw-scripts/${version}/vfw-scripts-${version}.zip" + unzip "vfw-scripts-${version}.zip" chmod +x *.sh mv vsink.sh /etc/init.d |