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

M2 Devices don't report their machine_name correctly #1485

Closed
jc0b opened this issue Sep 12, 2022 · 2 comments
Closed

M2 Devices don't report their machine_name correctly #1485

jc0b opened this issue Sep 12, 2022 · 2 comments

Comments

@jc0b
Copy link

jc0b commented Sep 12, 2022

With M2, Apple has changed the hardware identifier of M2 devices away from the conventional MacBookProXX,X nomenclature to just MacXX,X, with the model name omitted.

On M2, running system_profiler in munkilib/reportcommon.py under Rosetta then causes the machine_name used by Munkireport to simply report as "Mac", instead of MacBook Pro or MacBook Air.

A potential workaround is to prepend any subprocess command calls within the runner with arch -arm64 once we have identified that we are running on Apple Silicon (we can do this using the method described in #1481).

@jc0b
Copy link
Author

jc0b commented Sep 12, 2022

This issue is actually addressed in #1483

@tuxudo
Copy link
Contributor

tuxudo commented Mar 6, 2023

Fixed in PR #1498

@jc0b jc0b closed this as completed May 20, 2024
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

No branches or pull requests

2 participants