mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-02-05 08:17:59 +00:00
Compare commits
1 Commits
fix-etcd-s
...
hetzner
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27f4ad9b87 |
@@ -52,9 +52,9 @@ image-matchbox:
|
|||||||
--load=$(LOAD)
|
--load=$(LOAD)
|
||||||
echo "$(REGISTRY)/matchbox:$(TALOS_VERSION)" > images/matchbox.tag
|
echo "$(REGISTRY)/matchbox:$(TALOS_VERSION)" > images/matchbox.tag
|
||||||
|
|
||||||
assets: talos-iso
|
assets: talos-iso talos-nocloud
|
||||||
|
|
||||||
talos-initramfs talos-kernel talos-installer talos-iso:
|
talos-initramfs talos-kernel talos-installer talos-iso talos-nocloud:
|
||||||
mkdir -p ../../../_out/assets
|
mkdir -p ../../../_out/assets
|
||||||
cat images/talos/profiles/$(subst talos-,,$@).yaml | \
|
cat images/talos/profiles/$(subst talos-,,$@).yaml | \
|
||||||
docker run --rm -i -v /dev:/dev --privileged "ghcr.io/siderolabs/imager:$(TALOS_VERSION)" --tar-to-stdout - | \
|
docker run --rm -i -v /dev:/dev --privileged "ghcr.io/siderolabs/imager:$(TALOS_VERSION)" --tar-to-stdout - | \
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
set -e
|
set -e
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
PROFILES="initramfs kernel iso installer"
|
PROFILES="initramfs kernel iso installer nocloud"
|
||||||
FIRMWARES="amd-ucode amdgpu-firmware bnx2-bnx2x i915-ucode intel-ice-firmware intel-ucode qlogic-firmware"
|
FIRMWARES="amd-ucode amdgpu-firmware bnx2-bnx2x i915-ucode intel-ice-firmware intel-ucode qlogic-firmware"
|
||||||
EXTENSIONS="drbd zfs"
|
EXTENSIONS="drbd zfs"
|
||||||
|
|
||||||
@@ -32,6 +32,14 @@ done
|
|||||||
|
|
||||||
for profile in $PROFILES; do
|
for profile in $PROFILES; do
|
||||||
echo "writing profile images/talos/profiles/$profile.yaml"
|
echo "writing profile images/talos/profiles/$profile.yaml"
|
||||||
|
if [ "$profile" = "nocloud" ]; then
|
||||||
|
image_options="{ diskSize: 1306525696, diskFormat: raw }"
|
||||||
|
out_format=".xz"
|
||||||
|
else
|
||||||
|
image_options="{}"
|
||||||
|
out_format="raw"
|
||||||
|
fi
|
||||||
|
|
||||||
cat > images/talos/profiles/$profile.yaml <<EOT
|
cat > images/talos/profiles/$profile.yaml <<EOT
|
||||||
# this file generated by hack/gen-profiles.sh
|
# this file generated by hack/gen-profiles.sh
|
||||||
# do not edit it
|
# do not edit it
|
||||||
@@ -58,6 +66,7 @@ input:
|
|||||||
- imageRef: ghcr.io/siderolabs/zfs:${ZFS_VERSION}
|
- imageRef: ghcr.io/siderolabs/zfs:${ZFS_VERSION}
|
||||||
output:
|
output:
|
||||||
kind: ${profile}
|
kind: ${profile}
|
||||||
outFormat: raw
|
imageOptions: ${image_options}
|
||||||
|
outFormat: ${out_format}
|
||||||
EOT
|
EOT
|
||||||
done
|
done
|
||||||
|
|||||||
27
packages/core/installer/images/talos/profiles/nocloud.yaml
Normal file
27
packages/core/installer/images/talos/profiles/nocloud.yaml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# this file generated by hack/gen-profiles.sh
|
||||||
|
# do not edit it
|
||||||
|
arch: amd64
|
||||||
|
platform: metal
|
||||||
|
secureboot: false
|
||||||
|
version: v1.6.4
|
||||||
|
input:
|
||||||
|
kernel:
|
||||||
|
path: /usr/install/amd64/vmlinuz
|
||||||
|
initramfs:
|
||||||
|
path: /usr/install/amd64/initramfs.xz
|
||||||
|
baseInstaller:
|
||||||
|
imageRef: ghcr.io/siderolabs/installer:v1.6.4
|
||||||
|
systemExtensions:
|
||||||
|
- imageRef: ghcr.io/siderolabs/amd-ucode:20240115
|
||||||
|
- imageRef: ghcr.io/siderolabs/amdgpu-firmware:20240115
|
||||||
|
- imageRef: ghcr.io/siderolabs/bnx2-bnx2x:20240115
|
||||||
|
- imageRef: ghcr.io/siderolabs/i915-ucode:20240115
|
||||||
|
- imageRef: ghcr.io/siderolabs/intel-ice-firmware:20240115
|
||||||
|
- imageRef: ghcr.io/siderolabs/intel-ucode:20231114
|
||||||
|
- imageRef: ghcr.io/siderolabs/qlogic-firmware:20240115
|
||||||
|
- imageRef: ghcr.io/siderolabs/drbd:9.2.6-v1.6.4
|
||||||
|
- imageRef: ghcr.io/siderolabs/zfs:2.1.14-v1.6.4
|
||||||
|
output:
|
||||||
|
kind: image
|
||||||
|
imageOptions: { diskSize: 1306525696, diskFormat: raw }
|
||||||
|
outFormat: .xz
|
||||||
Reference in New Issue
Block a user