diff options
author | Rihab Banday <rihab.banday@ericsson.com> | 2021-02-02 17:16:57 +0100 |
---|---|---|
committer | Rihab Banday <rihab.banday@ericsson.com> | 2021-05-04 07:53:47 +0000 |
commit | 76243b0baeaa427fa4042d92b1aef0a0dc7835d9 (patch) | |
tree | e3931074e6633f2794fc9cabd05f019c3d29b98d | |
parent | 92ff19c63d31deb2612800828ab09e5749e12476 (diff) |
Add support for deployment on multiple OS distros
This patch introduces a variable to support
deployments on different OS distros.
Change-Id: I9cad126a57acbf662c4c97cfc5a275594f4d3f06
Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71843
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
-rwxr-xr-x | functions.sh | 2 | ||||
-rw-r--r-- | playbooks/roles/pre-install/vars/Debian.yml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/functions.sh b/functions.sh index 1a07ec0..6740ca2 100755 --- a/functions.sh +++ b/functions.sh @@ -183,7 +183,7 @@ if [ ! -d "${PROJECT_ROOT}/engine" ]; then ${PROJECT_ROOT}/engine/engine fi cd ${PROJECT_ROOT}/engine/engine -./deploy.sh -s ironic -d centos7 \ +./deploy.sh -s ironic -d ${DISTRO} \ -p file:///${PROJECT_ROOT}/engine/engine/pdf.yaml \ -i file:///${PROJECT_ROOT}/engine/engine/idf.yaml EOF diff --git a/playbooks/roles/pre-install/vars/Debian.yml b/playbooks/roles/pre-install/vars/Debian.yml index 1a7144b..0ff9b92 100644 --- a/playbooks/roles/pre-install/vars/Debian.yml +++ b/playbooks/roles/pre-install/vars/Debian.yml @@ -4,3 +4,4 @@ bmra_pkgs: - pciutils - ethtool - python3 + - unattended-upgrades |