Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions build_library/vm_image_util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ VALID_IMG_TYPES=(
kubevirt
openstack
openstack_mini
oraclecloud
packet
parallels
proxmoxve
Expand Down Expand Up @@ -59,6 +60,7 @@ VALID_OEM_PACKAGES=(
hyperv
kubevirt
openstack
oraclecloud
packet
proxmoxve
qemu
Expand Down Expand Up @@ -244,6 +246,13 @@ IMG_openstack_mini_OEM_PACKAGE=common-oem-files
IMG_openstack_mini_OEM_USE=openstack
IMG_openstack_mini_OEM_SYSEXT=oem-openstack

## Oracle Cloud
IMG_oraclecloud_DISK_FORMAT=qcow2
IMG_oraclecloud_DISK_LAYOUT=vm
IMG_oraclecloud_OEM_PACKAGE=common-oem-files
IMG_oraclecloud_OEM_USE=oraclecloud
IMG_oraclecloud_OEM_SYSEXT=oem-oraclecloud

## pxe, which is an cpio image
IMG_pxe_DISK_FORMAT=cpio
IMG_pxe_PARTITIONED_IMG=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ ConditionKernelCommandLine=|coreos.oem.id=gce
ConditionKernelCommandLine=|flatcar.oem.id=openstack
ConditionKernelCommandLine=|coreos.oem.id=openstack

ConditionKernelCommandLine=|flatcar.oem.id=oraclecloud

ConditionKernelCommandLine=|flatcar.oem.id=packet
ConditionKernelCommandLine=|coreos.oem.id=packet

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ COMMON_OEMIDS=(
azure
hetzner
openstack
oraclecloud
packet
proxmoxve
qemu
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
</pkgmetadata>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="OEM suite for Oracle Cloud"
HOMEPAGE="https://cloud.oracle.com/"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm64"
IUSE=""

OEM_NAME="oraclecloud"