Skip to content

Commit

Permalink
ionoscloud raw build
Browse files Browse the repository at this point in the history
  • Loading branch information
tuunit committed Jan 17, 2025
1 parent 29d11f2 commit ddf9981
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build_library/vm_image_util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ IMG_ionoscloud_FS_HOOK=ionoscloud

## ionoscloud_raw
IMG_ionoscloud_raw_OEM_USE=ionoscloud
IMG_ionoscloud_raw_OEM_PACKAGE=oem-ionoscloud
IMG_ionoscloud_raw_OEM_PACKAGE=common-oem-files
IMG_ionoscloud_raw_DISK_LAYOUT=ionoscloud
IMG_ionoscloud_raw_FS_HOOK=ionoscloud

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# DO NOT EDIT FILE
# MANAGED BY IONOS CLOUD
#
# INDICATOR FILE FOR USER DATA INJECTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Flatcar GRUB settings

set oem_id="ionoscloud"
set linux_append="flatcar.autologin"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
</pkgmetadata>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 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 raw IONOS Cloud image"
HOMEPAGE="https://cloud.ionos.com"
SRC_URI=""

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"

# no source directory
S="${WORKDIR}"

src_install() {
insinto "/oem"
doins "${FILESDIR}/grub.cfg"
doins "${FILESDIR}/USER_DATA_INJECTION"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

set oem_id="ionoscloud"
set linux_append="flatcar.autologin"
set ignition.config.device="ROOT"
set ignition.config.path="var/lib/cloud/seed/nocloud/user-data"

0 comments on commit ddf9981

Please sign in to comment.