X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=deploy%2Fcompass%2FdeployIEC.sh;fp=deploy%2Fcompass%2FdeployIEC.sh;h=509ce680ef15a2bff0f42a1013b7e3affc2dfc72;hb=a568e340a8fe1b4e34b221c04c4fd96f78738887;hp=0000000000000000000000000000000000000000;hpb=5f6a53c2da4eb7407a5a169a9c60e9146298a6e2;p=iec.git diff --git a/deploy/compass/deployIEC.sh b/deploy/compass/deployIEC.sh new file mode 100755 index 0000000..509ce68 --- /dev/null +++ b/deploy/compass/deployIEC.sh @@ -0,0 +1,20 @@ +#!/bin/bash +set -e + +sleep 10 +echo "Start IEC installation:" +rm -rf iec +rm -rf ~/.ssh/known_hosts + +git clone "https://gerrit.akraino.org/r/iec" + +cd iec/src/foundation/scripts + +sed -i.bak 's/10.169.36.152/10.1.0.50/g' ./config +sed -i "/^K8S_MASTERPW=/cK8S_MASTERPW=\"root\"" ./config +sed -i "/^HOST_USER=/cHOST_USER=\${HOST_USER:-root}" ./config +sed -i "s/10.169.40.106,123456/10.1.0.51,root/g" ./config +HOST_USER=root +export HOST_USER +./startup.sh +