Skip to content

Commit 48c81bc

Browse files
committed
oem: provide hetzner images
1 parent 0137a89 commit 48c81bc

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

build_library/vm_image_util.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ VALID_IMG_TYPES=(
1515
digitalocean
1616
exoscale
1717
gce
18+
hetzner
1819
hyperv
1920
hyperv_vhdx
2021
iso
@@ -48,6 +49,7 @@ VALID_OEM_PACKAGES=(
4849
digitalocean
4950
exoscale
5051
gce
52+
hetzner
5153
hyperv
5254
openstack
5355
packet
@@ -278,6 +280,12 @@ IMG_azure_OEM_USE=azure
278280
IMG_azure_OEM_PACKAGE=common-oem-files
279281
IMG_azure_OEM_SYSEXT=oem-azure
280282

283+
## hetzner
284+
IMG_hetzner_DISK_LAYOUT=vm
285+
IMG_hetzner_OEM_USE=hetzner
286+
IMG_hetzner_OEM_PACKAGE=common-oem-files
287+
IMG_hetzner_OEM_SYSEXT=oem-hetzner
288+
281289
## hyper-v
282290
IMG_hyperv_DISK_FORMAT=vhd
283291
IMG_hyperv_OEM_PACKAGE=oem-hyperv
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ fi
3131
COMMON_OEMIDS=(
3232
ami
3333
azure
34+
hetzner
3435
openstack
3536
packet
3637
qemu
Lines changed: 4 additions & 0 deletions
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>
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 Hetzner"
7+
HOMEPAGE="https://hetzner.com"
8+
SRC_URI=""
9+
10+
LICENSE="GPL-2"
11+
SLOT="0"
12+
KEYWORDS="amd64 arm64"
13+
IUSE=""
14+
15+
OEM_NAME="Hetzner"

0 commit comments

Comments
 (0)