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

Default hardware MAC in iso mount workflows #435

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rahulbabu95
Copy link

Description

For ISO bootmode, the controller required a placeHolder ":macAddress" to be present in the ISOURL which would then later be replaced to the MAC address of the actual hardware during the workflow creation time. Default the logic to append hardware MAC before the ISO file name by default without any placeholder, as we are doing it anyways right now and this slightly alleviates the user experience.

Why is this needed

Improves UX

Fixes: #

How Has This Been Tested?

Built a custom CAPT image, and verified that the macAddress was populated in the workflow object.

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

For ISO bootmode, the controller required a placeHolder ":macAddress" to
be present in the ISOURL which would then later be replaced to the MAC
address of the actual hardware during the workflow creation time.
Default the logic to append hardware MAC before the ISO file name by
default without any placeholder, as we are doing it anyways right now
and this slightly alleviates the user experience.

Signed-off-by: Rahul Ganesh <[email protected]>
// The name of the ISO file must have the .iso extension, but the name can be anything.
// The $IP and $Port should generally point to the IP and Port of the Smee server
// as this is where the ISO patching endpoint lives.
// The ":macAddress" is a placeholder for the MAC address of the hardware and
// should be provided exactly as is: ":macAddress".
// The controller will append the MAC address of the hardware in the ISO URL
Copy link
Member

@jacobweinstock jacobweinstock Jan 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good start, thanks. Will you please add why "The controller will append the MAC address" is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants