WizardV2: pass module_hotfixes to the request
This commit is contained in:
parent
88e67b3e4c
commit
7246cfbd16
5 changed files with 61 additions and 5 deletions
|
|
@ -145,6 +145,10 @@ export const convertSchemaToIBCustomRepo = (
|
|||
baseurl: [repo.url!],
|
||||
check_gpg: false,
|
||||
};
|
||||
// only include the flag if enabled
|
||||
if (repo.module_hotfixes) {
|
||||
imageBuilderRepo.module_hotfixes = repo.module_hotfixes;
|
||||
}
|
||||
if (repo.gpg_key) {
|
||||
imageBuilderRepo.gpgkey = [repo.gpg_key];
|
||||
imageBuilderRepo.check_gpg = true;
|
||||
|
|
@ -163,6 +167,10 @@ export const convertSchemaToIBPayloadRepo = (
|
|||
rhsm: false,
|
||||
check_gpg: false,
|
||||
};
|
||||
// only include the flag if enabled
|
||||
if (repo.module_hotfixes) {
|
||||
imageBuilderRepo.module_hotfixes = repo.module_hotfixes;
|
||||
}
|
||||
if (repo.gpg_key) {
|
||||
imageBuilderRepo.gpgkey = repo.gpg_key;
|
||||
imageBuilderRepo.check_gpg = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue