mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
Merge pull request #1806 from flatcar/tormath1/linode
oem: provide akamai (linode) images
This commit is contained in:
commit
ab4e709fa6
@ -6,6 +6,7 @@
|
|||||||
# Default values use the format IMG_DEFAULT_<opt>.
|
# Default values use the format IMG_DEFAULT_<opt>.
|
||||||
|
|
||||||
VALID_IMG_TYPES=(
|
VALID_IMG_TYPES=(
|
||||||
|
akamai
|
||||||
ami
|
ami
|
||||||
ami_vmdk
|
ami_vmdk
|
||||||
azure
|
azure
|
||||||
@ -44,6 +45,7 @@ VALID_IMG_TYPES=(
|
|||||||
|
|
||||||
#list of oem package names, minus the oem- prefix
|
#list of oem package names, minus the oem- prefix
|
||||||
VALID_OEM_PACKAGES=(
|
VALID_OEM_PACKAGES=(
|
||||||
|
akamai
|
||||||
azure
|
azure
|
||||||
cloudsigma
|
cloudsigma
|
||||||
cloudstack
|
cloudstack
|
||||||
@ -325,6 +327,11 @@ IMG_kubevirt_OEM_USE=kubevirt
|
|||||||
IMG_kubevirt_OEM_SYSEXT=oem-kubevirt
|
IMG_kubevirt_OEM_SYSEXT=oem-kubevirt
|
||||||
IMG_kubevirt_DISK_EXTENSION=qcow2
|
IMG_kubevirt_DISK_EXTENSION=qcow2
|
||||||
|
|
||||||
|
## akamai (Linode)
|
||||||
|
IMG_akamai_OEM_PACKAGE=common-oem-files
|
||||||
|
IMG_akamai_OEM_USE=akamai
|
||||||
|
IMG_akamai_OEM_SYSEXT=oem-akamai
|
||||||
|
|
||||||
###########################################################
|
###########################################################
|
||||||
|
|
||||||
# Print the default vm type for the specified board
|
# Print the default vm type for the specified board
|
||||||
|
1
changelog/changes/2024-06-19-akamai.md
Normal file
1
changelog/changes/2024-06-19-akamai.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
- Added Akamai / Linode images ([flatcar/scripts#1806](https://github.com/flatcar/scripts/pull/1806))
|
@ -140,6 +140,8 @@ function _vm_build_impl() {
|
|||||||
COMPRESSION_FORMAT="zip"
|
COMPRESSION_FORMAT="zip"
|
||||||
elif [[ "${format}" =~ ^(scaleway|kubevirt)$ ]];then
|
elif [[ "${format}" =~ ^(scaleway|kubevirt)$ ]];then
|
||||||
COMPRESSION_FORMAT="none"
|
COMPRESSION_FORMAT="none"
|
||||||
|
elif [[ "${format}" =~ ^(akamai)$ ]];then
|
||||||
|
COMPRESSION_FORMAT="gz"
|
||||||
fi
|
fi
|
||||||
./run_sdk_container -n "${vms_container}" -C "${packages_image}" \
|
./run_sdk_container -n "${vms_container}" -C "${packages_image}" \
|
||||||
-v "${vernum}" \
|
-v "${vernum}" \
|
||||||
|
@ -23,6 +23,8 @@ ConditionKernelCommandLine=|flatcar.oem.id=hetzner
|
|||||||
|
|
||||||
ConditionKernelCommandLine=|flatcar.oem.id=kubevirt
|
ConditionKernelCommandLine=|flatcar.oem.id=kubevirt
|
||||||
|
|
||||||
|
ConditionKernelCommandLine=|flatcar.oem.id=akamai
|
||||||
|
|
||||||
Description=Flatcar Metadata Agent
|
Description=Flatcar Metadata Agent
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -29,6 +29,7 @@ if [[ ${1:-} = 'flatcar-local-variables' ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
COMMON_OEMIDS=(
|
COMMON_OEMIDS=(
|
||||||
|
akamai
|
||||||
ami
|
ami
|
||||||
azure
|
azure
|
||||||
hetzner
|
hetzner
|
||||||
|
@ -10,7 +10,7 @@ CROS_WORKON_REPO="https://github.com"
|
|||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||||
else
|
else
|
||||||
CROS_WORKON_COMMIT="33b692d9d67e8d9b09378bb2be2a66d1aa439a15" # flatcar-master
|
CROS_WORKON_COMMIT="05e3d8b9c0f8e95d5044db5133b3e75d205f6d91" # flatcar-master
|
||||||
KEYWORDS="amd64 arm arm64 x86"
|
KEYWORDS="amd64 arm arm64 x86"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-akamai/metadata.xml
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-akamai/metadata.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
</pkgmetadata>
|
15
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-akamai/oem-akamai-0.ebuild
vendored
Normal file
15
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-akamai/oem-akamai-0.ebuild
vendored
Normal file
@ -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 Akamai (previously Linode)"
|
||||||
|
HOMEPAGE="https://www.linode.com"
|
||||||
|
SRC_URI=""
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 arm64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
OEM_NAME="Akamai"
|
Loading…
Reference in New Issue
Block a user