Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions images/hooks/talos-embed-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,14 @@ embed_config() {
# The imager creates a fresh ISO from scratch - it doesn't modify the downloaded ISO
# Mount work dir to /out (imager's default output directory)
# Note: --privileged is required for SELinux xattr operations on CI runners
docker run --rm -t --privileged \
# IMPORTANT: Redirect stdout to /dev/null to prevent secrets from being logged
# The imager prints the full profile (including embedded config with certs/keys) to stdout
docker run --rm --privileged \
-v "${WORK_DIR}:/out" \
"ghcr.io/siderolabs/imager:${talos_version}" \
iso \
--arch amd64 \
--embedded-config-path=/out/machine.yaml
--embedded-config-path=/out/machine.yaml > /dev/null

# Find the generated ISO (imager outputs to /out/metal-amd64.iso)
local output_iso="${WORK_DIR}/metal-amd64.iso"
Expand Down