diff --git a/confluent_osdeploy/el8/profiles/default/scripts/add_local_repositories b/confluent_osdeploy/el8/profiles/default/scripts/add_local_repositories index f1b423f0..ff0d27e3 100644 --- a/confluent_osdeploy/el8/profiles/default/scripts/add_local_repositories +++ b/confluent_osdeploy/el8/profiles/default/scripts/add_local_repositories @@ -59,4 +59,5 @@ for sec in c.sections(): repout.write('baseurl=https://{}/confluent-public/os/{}/distribution/{}\n'.format(server, profile, repopath)) repout.write('enabled=1\n') if gpgkeys: - repout.write('gpgkey=file://' + gpgkeys[0] + '\n') + gpgkeyvals = ['file://{}'.format(x) for x in gpgkeys] + repout.write('gpgkey=' + ' '.join(gpgkeyvals) + '\n')