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

init.sh: make grep for CPU model name more robust #298

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

schildbach
Copy link
Contributor

On my VM (though not within Docker) the previous grep matched for the BIOS name too:

# lscpu | grep 'Model name:'
Model name:                           AMD EPYC 7282 16-Core Processor
BIOS Model name:                      pc-i440fx-5.2  CPU @ 2.0GHz

On my VM (though not within Docker) the previous grep matched for the BIOS name too:

```
# lscpu | grep 'Model name:'
Model name:                           AMD EPYC 7282 16-Core Processor
BIOS Model name:                      pc-i440fx-5.2  CPU @ 2.0GHz
```
@wolveix
Copy link
Owner

wolveix commented Sep 12, 2024

Great stuff, thanks!

@wolveix wolveix merged commit fbfb50c into wolveix:main Sep 12, 2024
2 checks passed
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