Change-Id: Ic40c082f0c09fcc269a8855a21c9f4828361bf2f
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
if [[ "$jujuver" > "2" ]]; then
if [ ! -d labconfig.yaml ]; then
cp ~/joid_config/labconfig.yaml ./labconfig.yaml || true
- cp ~/joid_config/deployconfig.yaml ./deployconfig.yaml || true
+ if [ -d $HOME/joid_config/deployconfig.yaml ]; then
+ cp ~/joid_config/deployconfig.yaml ./deployconfig.yaml || true
+ else
+ python genDeploymentConfig.py -l labconfig.yaml > deployconfig.yaml
+ fi
fi
else
if [ ! -d environments.yaml ]; then