Moving dev branch code to master branch
[yaml_builds.git] / 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 (file)
@@ -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.                   #
 # 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