Open GoogleCodeExporter opened 9 years ago
Would changing the preflight line
MAC=`ifconfig en0 | awk '/ether/ {print $2}'`
to
MAC= `ioreg -l | grep IOPlatformSerialNumber | awk '{print $4}' | tr -d '"'`
Do what you want? Granted, the MAC field is now mislabled (it's now the serial
number, not the MAC address) and I've no clue if this will work with the
munkireports database/server... if it doesn't do any type/field checking then
you should be fine... if it insists on a specific length or limits to valid
characters in a MAC address then it will fail.
Original comment by child...@gmail.com
on 14 Oct 2011 at 2:46
Original issue reported on code.google.com by
am2...@apps.cul.columbia.edu
on 29 Sep 2011 at 2:10