X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=tools%2Fj2%2Fset_site_env.sh;fp=templates%2Fyaml_builds%2Fset_site_env.sh;h=16398085bc1c6d9e2d8b6aed0bdc683bb9722a41;hb=refs%2Fchanges%2F69%2F369%2F1;hp=b420961296062347648ab430b2f313a6285a1693;hpb=d743ec6c91f97cc9f5b944a8d0a609883440b14e;p=yaml_builds.git diff --git a/templates/yaml_builds/set_site_env.sh b/tools/j2/set_site_env.sh similarity index 78% rename from templates/yaml_builds/set_site_env.sh rename to tools/j2/set_site_env.sh index b420961..1639808 100644 --- a/templates/yaml_builds/set_site_env.sh +++ b/tools/j2/set_site_env.sh @@ -1,6 +1,6 @@ #!/bin/bash ############################################################################## -# Copyright © 2018 AT&T Intellectual Property. All rights reserved. # +# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. # # # # Licensed under the Apache License, Version 2.0 (the "License"); you may # # not use this file except in compliance with the License. # @@ -15,10 +15,11 @@ # limitations under the License. # ############################################################################## - export GENESIS_HOST={{yaml.genesis.host}} echo GENESIS_HOST=$GENESIS_HOST -export GENESIS_PXE={{yaml.genesis.pxe}} -echo GENESIS_PXE=$GENESIS_PXE -export REGIONAL_SERVER_IP={{yaml.regional_server.ip}} -echo REGIONAL_SERVER_IP=$REGIONAL_SERVER_IP +export PXE_INTERFACE={{yaml.networks.pxe.interface}} +echo PXE_INTERFACE=$PXE_INTERFACE +export HOST_INTERFACE={{yaml.networks.host.interface}} +echo HOST_INTERFACE=$HOST_INTERFACE +export GENESIS_NAME={{yaml.genesis.name}} +echo GENESIS_NAME=$GENESIS_NAME