From 78c819d6232b3fa5c6fb6aa5ea85a54c596f0b56 Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Mon, 25 Feb 2019 16:04:39 -0700 Subject: Add distro_package_manager configuration Add configuration to allow the switch between dnf/yum or provide an alternative package manager. Change-Id: I913769fcf5875a12b4561958cf7c90b74cd116ea --- kolla/common/config.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'kolla/common') diff --git a/kolla/common/config.py b/kolla/common/config.py index 05ccb13e0..e364ae290 100755 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -266,6 +266,11 @@ _BASE_OPTS = [ cfg.StrOpt('maintainer', default='Kolla Project (https://launchpad.net/kolla)', help='Content of the maintainer label'), + cfg.StrOpt('distro_package_manager', default=None, + help=('Use this parameter to override the default package ' + 'manager used by kolla. For example, if you want to use ' + 'yum on a system with dnf, set this to yum which will ' + 'use yum command in the build process')), cfg.StrOpt('base_package_type', default=None, help=('Set the package type of the distro. If not set then ' 'the packaging type is set to "rpm" if a RHEL based ' -- cgit v1.2.3