diff options
author | Deepak S <deepak.s@linux.intel.com> | 2017-05-19 03:30:13 +0530 |
---|---|---|
committer | Deepak S <deepak.s@linux.intel.com> | 2017-05-18 22:13:03 -0700 |
commit | 929cb01bf4ab8b5e7ddfbdb5b26499c21fba2437 (patch) | |
tree | d4e14a68ef11c44fe991f49b8ea4ceb3a3b1c646 /tools | |
parent | 141750af33aad7f3be186e0795d543b2b2f8a09d (diff) |
Adding support to build the vnfs without user intervention
./tools/vnf_build.sh --silient
Change-Id: I50ecdc263a732d1ed823202107e49ffaa739e9b4
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/vnf_build.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/vnf_build.sh b/tools/vnf_build.sh index f7ffe76e..2a9417ca 100755 --- a/tools/vnf_build.sh +++ b/tools/vnf_build.sh @@ -258,6 +258,30 @@ build_vnfs() popd } +#--- Add non intractive option to build vnfs +if [[ "$1" = "--silient" ]];then + pushd $VNF_CORE + + echo "Install required libraries..." + touch .agree + install_libs + + echo "Download dpdk for VNF build..." + download_dpdk_zip + + echo "Build dpdk..." + install_dpdk + + echo "Setup hugepages..." + setup_hugepages + + echo "build VNFS..." + build_vnfs + + popd + exit +fi + SETUP_PROXY="setup_http_proxy" STEPS[1]="step_1" STEPS[2]="step_2" |