Merge pull request #1880 from apricote/hetzner

OEM: Provide Hetzner Images
This commit is contained in:
Mathieu Tortuyaux 2024-04-17 15:17:33 +02:00 committed by GitHub
commit 0d4031a6d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 33 additions and 2 deletions

View File

@ -15,6 +15,7 @@ VALID_IMG_TYPES=(
digitalocean
exoscale
gce
hetzner
hyperv
hyperv_vhdx
iso
@ -48,6 +49,7 @@ VALID_OEM_PACKAGES=(
digitalocean
exoscale
gce
hetzner
hyperv
openstack
packet
@ -278,6 +280,12 @@ IMG_azure_OEM_USE=azure
IMG_azure_OEM_PACKAGE=common-oem-files
IMG_azure_OEM_SYSEXT=oem-azure
## hetzner
IMG_hetzner_DISK_LAYOUT=vm
IMG_hetzner_OEM_USE=hetzner
IMG_hetzner_OEM_PACKAGE=common-oem-files
IMG_hetzner_OEM_SYSEXT=oem-hetzner
## hyper-v
IMG_hyperv_DISK_FORMAT=vhd
IMG_hyperv_OEM_PACKAGE=oem-hyperv

View File

@ -0,0 +1 @@
- Added Hetzner images ([flatcar/scripts#1880](https://github.com/flatcar/scripts/pull/1880))

View File

@ -19,6 +19,8 @@ ConditionKernelCommandLine=|coreos.oem.id=packet
ConditionKernelCommandLine=|flatcar.oem.id=scaleway
ConditionKernelCommandLine=|flatcar.oem.id=hetzner
Description=Flatcar Metadata Agent
[Service]

View File

@ -10,7 +10,7 @@ CROS_WORKON_REPO="https://github.com"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
else
CROS_WORKON_COMMIT="f35d50bed4c6556fee3ee40fef0d35ee9f3bc2c5" # flatcar-master
CROS_WORKON_COMMIT="96e929df6c04df58a87187cf2a769923e5ecdf41" # flatcar-master
KEYWORDS="amd64 arm arm64 x86"
fi

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
</pkgmetadata>

View 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 Hetzner"
HOMEPAGE="https://hetzner.com"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm64"
IUSE=""
OEM_NAME="Hetzner"

View File

@ -10,7 +10,7 @@ CROS_WORKON_REPO="https://github.com"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
else
CROS_WORKON_COMMIT="6c2fba412dbce9a011535a9e57332e1307072855" # flatcar-master
CROS_WORKON_COMMIT="78d94b311ddb047b280c5ee180410b48ec04ea39" # flatcar-master
KEYWORDS="amd64 arm arm64 x86"
fi