Skip to content

Commit e17c3d4

Browse files
committed
add ionoscloud support
1 parent 5f1b822 commit e17c3d4

File tree

9 files changed

+40
-7
lines changed

9 files changed

+40
-7
lines changed

build_library/vm_image_util.sh

+10
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ VALID_IMG_TYPES=(
1919
hetzner
2020
hyperv
2121
hyperv_vhdx
22+
ionoscloud
2223
iso
2324
kubevirt
2425
openstack
@@ -54,6 +55,7 @@ VALID_OEM_PACKAGES=(
5455
gce
5556
hetzner
5657
hyperv
58+
ionoscloud
5759
kubevirt
5860
openstack
5961
packet
@@ -332,6 +334,14 @@ IMG_akamai_OEM_PACKAGE=common-oem-files
332334
IMG_akamai_OEM_USE=akamai
333335
IMG_akamai_OEM_SYSEXT=oem-akamai
334336

337+
## ionoscloud
338+
IMG_ionoscloud_OEM_USE=ionoscloud
339+
IMG_ionoscloud_OEM_PACKAGE=common-oem-files
340+
IMG_ionoscloud_OEM_SYSEXT=oem-ionoscloud
341+
IMG_ionoscloud_DISK_LAYOUT=vm
342+
IMG_ionoscloud_DISK_FORMAT=qcow2
343+
IMG_ionoscloud_DISK_EXTENSION=qcow2
344+
335345
###########################################################
336346

337347
# Print the default vm type for the specified board

sdk_container/src/third_party/coreos-overlay/coreos-base/afterburn/files/coreos-metadata.service

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ ConditionKernelCommandLine=|flatcar.oem.id=kubevirt
2525

2626
ConditionKernelCommandLine=|flatcar.oem.id=akamai
2727

28+
ConditionKernelCommandLine=|flatcar.oem.id=ionoscloud
29+
2830
Description=Flatcar Metadata Agent
2931

3032
[Service]

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

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ COMMON_OEMIDS=(
3838
qemu
3939
scaleway
4040
kubevirt
41+
ionoscloud
4142
)
4243

4344
ARM64_ONLY_OEMIDS=(
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
set linux_append="flatcar.autologin"

sdk_container/src/third_party/coreos-overlay/coreos-base/coreos-cloudinit/coreos-cloudinit-9999.ebuild

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=7
5-
EGIT_REPO_URI="https://github.com/flatcar/coreos-cloudinit.git"
5+
EGIT_REPO_URI="https://github.com/tuunit/flatcar-cloudinit.git"
66
COREOS_GO_PACKAGE="github.com/flatcar/coreos-cloudinit"
77
COREOS_GO_GO111MODULE="on"
88
inherit git-r3 systemd toolchain-funcs udev coreos-go
99

1010
if [[ "${PV}" == 9999 ]]; then
1111
KEYWORDS="~amd64 ~arm64"
1212
else
13-
EGIT_COMMIT="f3aaab923de5075524780716635f25564b5e6934" # flatcar-master
13+
EGIT_COMMIT="57fac09cb2f4c13b89f6baec46569a3e66a3b29b" # feat/ionoscloud-support
1414
KEYWORDS="amd64 arm64"
1515
fi
1616

sdk_container/src/third_party/coreos-overlay/coreos-base/coreos-init/coreos-init-9999.ebuild

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
# Distributed under the terms of the GNU General Public License v2
44

55
EAPI=7
6-
EGIT_REPO_URI="https://github.com/flatcar/init.git"
6+
EGIT_REPO_URI="https://github.com/tuunit/flatcar-init.git"
77

88
if [[ "${PV}" == 9999 ]]; then
99
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
1010
else
11-
EGIT_COMMIT="05b4b2aafbe706bdd65265c7a7103ed75fee14d2" # flatcar-master
11+
EGIT_COMMIT="768ad10d2f3aafb4b2d90ee548022872f426bc34" # feat/ionoscloud-support
1212
KEYWORDS="amd64 arm arm64 x86"
1313
fi
1414

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3+
<pkgmetadata>
4+
</pkgmetadata>
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 IONOS Cloud"
7+
HOMEPAGE="https://cloud.ionos.com"
8+
SRC_URI=""
9+
10+
LICENSE="GPL-2"
11+
SLOT="0"
12+
KEYWORDS="amd64 arm64"
13+
IUSE=""
14+
15+
OEM_NAME="IONOS Cloud"

sdk_container/src/third_party/coreos-overlay/sys-kernel/bootengine/bootengine-9999.ebuild

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=7
5-
EGIT_REPO_URI="https://github.com/flatcar/bootengine.git"
5+
EGIT_REPO_URI="https://github.com/tuunit/flatcar-bootengine.git"
66

77
if [[ "${PV}" == 9999 ]]; then
88
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
99
else
10-
EGIT_COMMIT="f3c80fb02fe65dd3be2b0bb4727fc10985acfa9d" # flatcar-master
11-
KEYWORDS="amd64 arm arm64 x86"
10+
EGIT_COMMIT="dc60e2fcc09e99082e2f1c8287a7526328217391" # feat/ionoscloud-support
11+
KEYWORDS="amd64 arm arm64 x86"
1212
fi
1313

1414
inherit git-r3

0 commit comments

Comments
 (0)