Properly set debian_arch for ppc64el hardware

On Red Hat distros, ppc64el is referred to as ppc64le. This patch
simply sets debian_arch to ppc64el if the base arch comes up as
ppc64le.

Change-Id: Idb9b30f792db11bea9b7d96025bd20a03fabc78a
This commit is contained in:
Michael Turek 2019-03-18 18:27:52 +00:00
parent debe417982
commit 828209713d
1 changed files with 2 additions and 0 deletions

View File

@ -684,6 +684,8 @@ class KollaWorker(object):
self.debian_arch = 'arm64'
elif self.base_arch == 'x86_64':
self.debian_arch = 'amd64'
elif self.base_arch == 'ppc64le':
self.debian_arch = 'ppc64el'
self.images = list()
rpm_setup_config = ([repo_file for repo_file in
conf.rpm_setup_config if repo_file is not None])