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
7 changes: 4 additions & 3 deletions images/hooks/talos-embed-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ get_talos_version() {

# Generate machine configuration using talhelper
generate_config() {
echo "Generating machine configuration..."
echo "Generating machine configuration..." >&2

cd "${TALOS_DIR}"

# Generate configs to work directory
talhelper genconfig --out-dir "${WORK_DIR}/clusterconfig"
talhelper genconfig --out-dir "${WORK_DIR}/clusterconfig" >&2

# Find the config file for the specified node
local cluster_name
Expand All @@ -114,7 +114,8 @@ generate_config() {
exit 1
fi

echo " Generated config: ${config_file}"
echo " Generated config: ${config_file}" >&2
# Only the path goes to stdout for capture
echo "${config_file}"
}

Expand Down