fuel-plugin-nsxv/pre_build_hook
Artem Savinov ac7f96d72c Remove customized .deb package python-nova out of plugin and remove manifest that installs it
* Remove python-nova.deb package and remove manifest that installs it
* Remove manifest that change plugin repository settings
* Change neutron policy for liberty release from vmware plugin
* Change neutron manifests for work on liberty release

Change-Id: If0c64ae24fd63eb733550669e74cfe0cc83756db
2015-10-28 14:35:59 +03:00

14 lines
462 B
Bash
Executable File

#!/bin/bash
# Add here any the actions which are required before plugin build
# like packages building, packages downloading from mirrors and so on.
# The script should return 0 if there were no errors.
set -eux
ROOT="$(dirname `readlink -f $0`)"
version=$(sed -rn 's/^version:\s*([0-9.])/\1/p' $ROOT/metadata.yaml)
name=$(sed -rn 's/^name:\s*(.*)/\1/p' $ROOT/metadata.yaml)
sed -i "s/NAME/$name/" $ROOT/deployment_scripts/puppet/manifests/hiera-override.pp