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

allow fingerprinting of classic cpu architecture names #13181

Closed
shantanugadgil opened this issue May 31, 2022 · 2 comments
Closed

allow fingerprinting of classic cpu architecture names #13181

shantanugadgil opened this issue May 31, 2022 · 2 comments

Comments

@shantanugadgil
Copy link
Contributor

Proposal

Currently the cpu is fingerprinted using the GOARCH (amd64, arm64).

Sometimes we need the "traditional" name of the CPU architecture; i386, x86_64, etc.

This proposal is to allow the Nomad agent to fingerprint the "classic" name for the CPU architecture.

Use-cases

Software which ship using the classic CPU architecture in their filenames cannot be downloaded using the "inbuilt" variable ${attr.cpu.arch}.

We need to write custom script (?) code to use aarch64, x86_64 in the download file name depending on amd64, arm64.

Attempted Solutions

Currently making do using a custom script and leveraging if/else using the output of uname -m

Please note: the name "classic" is what popped into my mind, I am open to any other named being used for this as well.

@lgfa29
Copy link
Contributor

lgfa29 commented Jun 2, 2022

Closed by #13182

@github-actions
Copy link

github-actions bot commented Oct 7, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants