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

Add device & model names to kargs for epoxy #15

Open
stephen-soltesz opened this issue Jan 11, 2018 · 0 comments
Open

Add device & model names to kargs for epoxy #15

stephen-soltesz opened this issue Jan 11, 2018 · 0 comments

Comments

@stephen-soltesz
Copy link
Contributor

The stage1-template.ipxe script and however we generate stage1 images for legacy hardware, we should encode some known hardware information into the kargs so that they are available to epoxy during boot.

In particular, this could be helpful for updating the mlx rom. For example, if the kargs include:

epoxy.model=Mellanox epoxy.device=ConnectX3

Then the process that downloads and flashes the rom could construct a URL to locate the latest image, e.g.

https://storage.googleapis.com/epoxy-mlab-staging/roms/{{.kargs.epoxy.model}}/{{.kargs.epoxy.device}}/{{.kargs.epoxy.hostname}}.mrom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants