mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 06:26:57 +02:00
Merge pull request #1880 from apricote/hetzner
OEM: Provide Hetzner Images
This commit is contained in:
commit
0d4031a6d8
@ -15,6 +15,7 @@ VALID_IMG_TYPES=(
|
|||||||
digitalocean
|
digitalocean
|
||||||
exoscale
|
exoscale
|
||||||
gce
|
gce
|
||||||
|
hetzner
|
||||||
hyperv
|
hyperv
|
||||||
hyperv_vhdx
|
hyperv_vhdx
|
||||||
iso
|
iso
|
||||||
@ -48,6 +49,7 @@ VALID_OEM_PACKAGES=(
|
|||||||
digitalocean
|
digitalocean
|
||||||
exoscale
|
exoscale
|
||||||
gce
|
gce
|
||||||
|
hetzner
|
||||||
hyperv
|
hyperv
|
||||||
openstack
|
openstack
|
||||||
packet
|
packet
|
||||||
@ -278,6 +280,12 @@ IMG_azure_OEM_USE=azure
|
|||||||
IMG_azure_OEM_PACKAGE=common-oem-files
|
IMG_azure_OEM_PACKAGE=common-oem-files
|
||||||
IMG_azure_OEM_SYSEXT=oem-azure
|
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
|
## hyper-v
|
||||||
IMG_hyperv_DISK_FORMAT=vhd
|
IMG_hyperv_DISK_FORMAT=vhd
|
||||||
IMG_hyperv_OEM_PACKAGE=oem-hyperv
|
IMG_hyperv_OEM_PACKAGE=oem-hyperv
|
||||||
|
1
changelog/changes/2024-04-16-hetzner.md
Normal file
1
changelog/changes/2024-04-16-hetzner.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
- Added Hetzner images ([flatcar/scripts#1880](https://github.com/flatcar/scripts/pull/1880))
|
@ -19,6 +19,8 @@ ConditionKernelCommandLine=|coreos.oem.id=packet
|
|||||||
|
|
||||||
ConditionKernelCommandLine=|flatcar.oem.id=scaleway
|
ConditionKernelCommandLine=|flatcar.oem.id=scaleway
|
||||||
|
|
||||||
|
ConditionKernelCommandLine=|flatcar.oem.id=hetzner
|
||||||
|
|
||||||
Description=Flatcar Metadata Agent
|
Description=Flatcar Metadata Agent
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -31,6 +31,7 @@ fi
|
|||||||
COMMON_OEMIDS=(
|
COMMON_OEMIDS=(
|
||||||
ami
|
ami
|
||||||
azure
|
azure
|
||||||
|
hetzner
|
||||||
openstack
|
openstack
|
||||||
packet
|
packet
|
||||||
qemu
|
qemu
|
@ -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="f35d50bed4c6556fee3ee40fef0d35ee9f3bc2c5" # flatcar-master
|
CROS_WORKON_COMMIT="96e929df6c04df58a87187cf2a769923e5ecdf41" # 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-hetzner/metadata.xml
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-hetzner/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-hetzner/oem-hetzner-0.ebuild
vendored
Normal file
15
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-hetzner/oem-hetzner-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 Hetzner"
|
||||||
|
HOMEPAGE="https://hetzner.com"
|
||||||
|
SRC_URI=""
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 arm64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
OEM_NAME="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="6c2fba412dbce9a011535a9e57332e1307072855" # flatcar-master
|
CROS_WORKON_COMMIT="78d94b311ddb047b280c5ee180410b48ec04ea39" # flatcar-master
|
||||||
KEYWORDS="amd64 arm arm64 x86"
|
KEYWORDS="amd64 arm arm64 x86"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user