[lxc-devel] [lxc-ci/master] images/oracle: Fix Oracle Linux 8 cloud image

monstermunchkin on Github lxc-bot at linuxcontainers.org
Fri Oct 25 06:57:06 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 563 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20191024/90b2535a/attachment.bin>
-------------- next part --------------
From ab87c3f9023cbc4b9806d5b8315ecdd034982d2c Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Fri, 25 Oct 2019 08:40:49 +0200
Subject: [PATCH] images/oracle: Fix Oracle Linux 8 cloud image

This adds the AppStream repository for OL8 when building the cloud
image. This is required as the cloud-init package is in this repo.

Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
 images/oracle.yaml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/images/oracle.yaml b/images/oracle.yaml
index 1439804..88683a8 100644
--- a/images/oracle.yaml
+++ b/images/oracle.yaml
@@ -171,6 +171,21 @@ packages:
        action: install
        variants:
         - cloud
+
+    repositories:
+      - name: AppStream
+        url: |-
+          [AppStream]
+          name=Oracle Linux AppStream
+          baseurl=http://yum.oracle.com/repo/OracleLinux/OL{{ image.release }}/appstream/$basearch/
+          enabled=1
+          gpgcheck=1
+          gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
+        releases:
+          - 8
+        variants:
+          - cloud
+
 actions:
   - trigger: post-packages
     action: |-


More information about the lxc-devel mailing list