CreateImageWizard: turn off gpg check explicitly
gpgcheck is on by default, and if no gpgkey is specified dnf complains.
This commit is contained in:
parent
d0024a8d48
commit
fc63aec015
2 changed files with 4 additions and 0 deletions
|
|
@ -111,6 +111,7 @@ const convertSchemaToIBPayloadRepo = (repo) => {
|
|||
const imageBuilderRepo = {
|
||||
baseurl: repo.url,
|
||||
rhsm: false,
|
||||
check_gpg: false,
|
||||
};
|
||||
if (repo.gpg_key) {
|
||||
imageBuilderRepo.gpgkey = repo.gpg_key;
|
||||
|
|
@ -127,6 +128,7 @@ const convertSchemaToIBCustomRepo = (repo) => {
|
|||
id: repo.uuid,
|
||||
name: repo.name,
|
||||
baseurl: [repo.url],
|
||||
check_gpg: false,
|
||||
};
|
||||
if (repo.gpg_key) {
|
||||
imageBuilderRepo.gpgkey = [repo.gpg_key];
|
||||
|
|
|
|||
|
|
@ -826,6 +826,7 @@ describe('Click through all steps', () => {
|
|||
baseurl: [
|
||||
'http://mirror.stream.centos.org/SIGs/8/kmods/x86_64/packages-main/',
|
||||
],
|
||||
check_gpg: false,
|
||||
id: '9cf1d45d-aa06-46fe-87ea-121845cc6bbb',
|
||||
name: '2lmdtj',
|
||||
},
|
||||
|
|
@ -843,6 +844,7 @@ describe('Click through all steps', () => {
|
|||
baseurl:
|
||||
'http://mirror.stream.centos.org/SIGs/8/kmods/x86_64/packages-main/',
|
||||
rhsm: false,
|
||||
check_gpg: false,
|
||||
},
|
||||
],
|
||||
filesystem: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue