Skip to content

Commit f115ff8

Browse files
committed
ionoscloud raw build
1 parent f0a8472 commit f115ff8

File tree

6 files changed

+35
-2
lines changed

6 files changed

+35
-2
lines changed

build_library/vm_image_util.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ IMG_ionoscloud_FS_HOOK=ionoscloud
354354

355355
## ionoscloud_raw
356356
IMG_ionoscloud_raw_OEM_USE=ionoscloud
357-
IMG_ionoscloud_raw_OEM_PACKAGE=oem-ionoscloud
357+
IMG_ionoscloud_raw_OEM_PACKAGE=oem-ionoscloud-raw
358358
IMG_ionoscloud_raw_DISK_LAYOUT=ionoscloud
359359
IMG_ionoscloud_raw_FS_HOOK=ionoscloud
360360

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# DO NOT EDIT FILE
2+
# MANAGED BY IONOS CLOUD
3+
#
4+
# INDICATOR FILE FOR USER DATA INJECTION
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Flatcar GRUB settings
2+
3+
set oem_id="ionoscloud"
4+
set linux_append="flatcar.autologin"
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>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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 raw IONOS Cloud image"
7+
HOMEPAGE="https://cloud.ionos.com"
8+
SRC_URI=""
9+
10+
LICENSE="Apache-2.0"
11+
SLOT="0"
12+
KEYWORDS="amd64"
13+
14+
# no source directory
15+
S="${WORKDIR}"
16+
17+
src_install() {
18+
insinto "/oem"
19+
doins "${FILESDIR}/grub.cfg"
20+
doins "${FILESDIR}/USER_DATA_INJECTION"
21+
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Flatcar GRUB settings
22

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

0 commit comments

Comments
 (0)