Skip to content

Conversation

@guvenc
Copy link
Collaborator

@guvenc guvenc commented Aug 14, 2025

prepare script improvements

@github-actions github-actions bot added enhancement New feature or request size/L labels Aug 14, 2025
@guvenc guvenc added ok-to-image and removed enhancement New feature or request size/L labels Aug 14, 2025
@guvenc guvenc force-pushed the feature/prepare_script_bf branch from 6c21460 to c60181c Compare August 15, 2025 08:30
@github-actions github-actions bot added size/L enhancement New feature or request labels Aug 15, 2025
@guvenc guvenc linked an issue Aug 20, 2025 that may be closed by this pull request
@guvenc guvenc marked this pull request as ready for review August 20, 2025 12:43
@guvenc guvenc requested a review from a team as a code owner August 20, 2025 12:43
@guvenc guvenc requested review from PlagueCZ and byteocean August 20, 2025 12:45
@byteocean
Copy link
Contributor

I notice that this PR contains the changes regarding the underlay prefix, would #709 cover it? and if it gets merged, would it be an issue to merge that one?

@guvenc guvenc force-pushed the feature/prepare_script_bf branch from c60181c to d36786c Compare August 20, 2025 17:55
@guvenc
Copy link
Collaborator Author

guvenc commented Aug 20, 2025

@byteocean
If they are not touching same files, rebase is always no problem but rebased to main to stay clean here.

Copy link
Contributor

@PlagueCZ PlagueCZ left a comment

Choose a reason for hiding this comment

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

Hard for me to test give then state of my work and the fact that we use ignition mostly, but it looks OK from what it's doing.

modified_pci=${pf0::-3}

# pci address of vfs are organized in a block of 8
# e.g., 3b:00.0 ... 3b:00.7, 3b:01.0 ... 3b:01.7, etc.
Copy link
Contributor

Choose a reason for hiding this comment

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

This comment was here to explain the strange for loop, because for those that do not know the VF numbering scheme it makes no sense just by reading the loop.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Makes totally sense. I will add all the removed original comments.

hack/prepare.sh Outdated
fi
create_vf
make_config
make_config
Copy link
Contributor

Choose a reason for hiding this comment

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

Please do not remove endlines, when I sometimes cat files it messes up my terminal prompt :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

:) will correct.

@guvenc guvenc changed the title prepare script improvements WIP prepare script improvements Aug 26, 2025
Signed-off-by: Guvenc Gulce <[email protected]>
@guvenc guvenc force-pushed the feature/prepare_script_bf branch from b810bb8 to b38a41a Compare August 27, 2025 12:32
Copy link
Contributor

@PlagueCZ PlagueCZ left a comment

Choose a reason for hiding this comment

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

Changes make sense, cannot test in OSC as we use ignition for this part.

@guvenc guvenc merged commit f396181 into main Aug 27, 2025
6 checks passed
@guvenc guvenc deleted the feature/prepare_script_bf branch August 27, 2025 13:00
@github-project-automation github-project-automation bot moved this to Done in Roadmap Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Improve prepare.sh script to support Bluefield

5 participants