-
Notifications
You must be signed in to change notification settings - Fork 1
Detect manufacturer with ipxe script #43
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
Draft
majst01
wants to merge
22
commits into
main
Choose a base branch
from
detect-manufacturer
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
cad5eec
Detect manufacturer with ipxe script
majst01 712696e
Use manufacturer variable directly
simcod d5ee693
Make ipxe file visible
simcod abc21d7
Set manufacturer console in go generated ipxe
simcod 373abb6
Set variables first and adapt tests
simcod 3ad4886
Check with ttyS0
simcod b07c59c
test
simcod a02ea07
Fix tests
simcod 32df583
Write ttyS0
simcod 5447bd7
Check for manufacturer now
simcod 2e609bd
Fix tests
simcod 36b62ce
Use different syntax
simcod 87e378f
Adapt tests
simcod 1e9034a
Check for supermicro
simcod 4f97277
Add default case
simcod 22d8d2c
Use ttyS1 as default
simcod 0d635a1
Test dell with whitespace
simcod a1830a9
Check for Giga Computing manufacturer
simcod 2d36ce9
Check for console variable
simcod 97e2d6f
Remove console variable again
simcod bbcc0d0
Put manufacturer distinction into ipxe script
simcod 7b077e8
Check for console
simcod File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should only add this console line if ${console} is not empty string.
But i don't now how this is possible with ipxe scripting
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eventually with:
b.WriteString("isset ${console} && console=${console},115200n8 ||")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We set the console parameter in the
boot.ipxescript by default tottyS1. The variable should be passed down, where we construct the ipxe script. So I assume it should not be an empty string.However, we could add something like this upfront: