diff options
| author | Alex Schultz <aschultz@redhat.com> | 2019-02-25 16:04:39 -0700 |
|---|---|---|
| committer | Alex Schultz <aschultz@redhat.com> | 2019-03-12 18:24:29 +0000 |
| commit | 78c819d6232b3fa5c6fb6aa5ea85a54c596f0b56 (patch) | |
| tree | 1bf168eae2fb5f47b01cccb2677c94a82a406439 /kolla/common | |
| parent | 3e5d8e2653db1c6c28cb428f81cd0bc332c623c3 (diff) | |
| download | kolla-78c819d6232b3fa5c6fb6aa5ea85a54c596f0b56.tar.gz kolla-78c819d6232b3fa5c6fb6aa5ea85a54c596f0b56.zip | |
Add distro_package_manager configuration
Add configuration to allow the switch between dnf/yum or provide an
alternative package manager.
Change-Id: I913769fcf5875a12b4561958cf7c90b74cd116ea
Diffstat (limited to 'kolla/common')
| -rwxr-xr-x | kolla/common/config.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 ' |
