commit | dec69f48165364c9ab67f25cff5ec8fcc0607afe | [log] [tgz] |
---|---|---|
author | Jorge Hernandez <jh1730@att.com> | Tue May 15 16:32:20 2018 -0500 |
committer | Jorge Hernandez <jh1730@att.com> | Tue May 15 16:32:20 2018 -0500 |
tree | 2da0391ab6effd28b387157445529bfa8b77a721 | |
parent | 4be4926e320354571b19340db2ddfef5a5fe20c2 [diff] |
Use preinstall hook in docker image to get CL app Change-Id: Id096c43bb3cb7e88ba1ec2e3ca1a788bd01847a4 Issue-ID: POLICY-797 Signed-off-by: Jorge Hernandez <jh1730@att.com>
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains the files for the ONAP Policy docker-compose configuration
The following needs to be setup before using docker-compose:
chmod +x config/drools/drools-tweaks.sh IP_ADDRESS=$(ifconfig eth0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2) echo $IP_ADDRESS > config/pe/ip_addr.txt
If you do not want the policies pre-loaded, then set this environment variable to false:
export PRELOAD_POLICIES=false
It will override the settings in the .env file. Which is set to true.