Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom deploy: do not require an ISO #193

Merged
merged 2 commits into from
Jul 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 8 additions & 1 deletion scripts/configure-coreos-ipa
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
. /bin/ironic-common.sh
. /bin/coreos-ipa-common.sh

set -x

export IRONIC_INSPECTOR_VLAN_INTERFACES=${IRONIC_INSPECTOR_VLAN_INTERFACES:-all}

IRONIC_CERT_FILE=/certs/ironic/tls.crt
Expand All @@ -19,4 +21,9 @@ else
fi

render_j2_config /tmp/ironic-python-agent.ign.j2 "$IGNITION_FILE"
coreos-installer iso ignition embed -i "$IGNITION_FILE" -f "$ISO_FILE"
# Print the generated ignition for debugging purposes.
cat "$IGNITION_FILE"

if [ -f "$ISO_FILE" ]; then
coreos-installer iso ignition embed -i "$IGNITION_FILE" -f "$ISO_FILE"
fi