Resolves issue where to allow custom repo URLS
Using an centos7 image and changing the HDP and HDP-UTILS URL location
resulted in an error of
"os_type=os_type_map[client.get_host_info[ambari.fqdn())["os_type"]]
KeyError: u'centos7'. This results in only being able to change the
HDP and HDP-UTILS URL if you were using centos6 or redhat6.This change
adds centos7 and redhat7 to the map to allow custom HDP and HDP-UTILS URLs.
Should we add additional operating systems to the list?
Closes-Bug: #1599252
Change-Id: Iaa5cd773c5daeabeda287048a2d3f8696faa1436
(cherry picked from commit d067680e68
)
This commit is contained in:
parent
22f9a9536a
commit
80a00cd9a5
@ -43,7 +43,9 @@ repo_id_map = {
|
||||
|
||||
os_type_map = {
|
||||
"centos6": "redhat6",
|
||||
"redhat6": "redhat6"
|
||||
"redhat6": "redhat6",
|
||||
"centos7": "redhat7",
|
||||
"redhat7": "redhat7"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user