2 ##############################################################################
3 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. #
5 # Licensed under the Apache License, Version 2.0 (the "License"); you may #
6 # not use this file except in compliance with the License. #
8 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ##############################################################################
18 {% if 'site_type' in yaml %}
19 export SITE_TYPE={{yaml.site_type}}
20 echo SITE_TYPE=$SITE_TYPE
21 export AIRSHIP_TREASUREMAP=/opt/akraino/yaml_builds/site_type/{{yaml.site_type}}/treasuremap
22 echo AIRSHIP_TREASUREMAP=$AIRSHIP_TREASUREMAP
23 export AIRSHIP_TEMPLATES=/opt/akraino/yaml_builds/site_type/{{yaml.site_type}}/templates/
24 echo AIRSHIP_TEMPLATES=$AIRSHIP_TEMPLATES
26 export GENESIS_HOST={{yaml.genesis.host}}
27 echo GENESIS_HOST=$GENESIS_HOST
28 export PXE_INTERFACE={{yaml.networks.pxe.interface}}
29 echo PXE_INTERFACE=$PXE_INTERFACE
30 export HOST_INTERFACE={{yaml.networks.host.interface}}
31 echo HOST_INTERFACE=$HOST_INTERFACE
32 export GENESIS_NAME={{yaml.genesis.name}}
33 echo GENESIS_NAME=$GENESIS_NAME