Skip to content

Commit 574fac0

Browse files
committed
feat: oraclecloud support
1 parent d380460 commit 574fac0

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

build_library/vm_image_util.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ VALID_IMG_TYPES=(
2323
kubevirt
2424
openstack
2525
openstack_mini
26+
oraclecloud
2627
packet
2728
parallels
2829
proxmoxve
@@ -59,6 +60,7 @@ VALID_OEM_PACKAGES=(
5960
hyperv
6061
kubevirt
6162
openstack
63+
oraclecloud
6264
packet
6365
proxmoxve
6466
qemu
@@ -244,6 +246,13 @@ IMG_openstack_mini_OEM_PACKAGE=common-oem-files
244246
IMG_openstack_mini_OEM_USE=openstack
245247
IMG_openstack_mini_OEM_SYSEXT=oem-openstack
246248

249+
## Oracle Cloud
250+
IMG_oraclecloud_DISK_FORMAT=qcow2
251+
IMG_oraclecloud_DISK_LAYOUT=vm
252+
IMG_oraclecloud_OEM_PACKAGE=common-oem-files
253+
IMG_oraclecloud_OEM_USE=oraclecloud
254+
IMG_oraclecloud_OEM_SYSEXT=oem-oraclecloud
255+
247256
## pxe, which is an cpio image
248257
IMG_pxe_DISK_FORMAT=cpio
249258
IMG_pxe_PARTITIONED_IMG=0

sdk_container/src/third_party/coreos-overlay/coreos-base/common-oem-files/common-oem-files-0-r11.ebuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ COMMON_OEMIDS=(
3434
azure
3535
hetzner
3636
openstack
37+
oraclecloud
3738
packet
3839
proxmoxve
3940
qemu
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
DESCRIPTION="OEM suite for Oracle Cloud"
7+
HOMEPAGE="https://cloud.oracle.com/"
8+
SRC_URI=""
9+
10+
LICENSE="GPL-2"
11+
SLOT="0"
12+
KEYWORDS="amd64 arm64"
13+
IUSE=""
14+
15+
OEM_NAME="oraclecloud"

0 commit comments

Comments
 (0)