Skip to main content
Answer

can you automate wireless setup with a .mobileconfig file during imaging?

  • May 23, 2012
  • 4 replies
  • 54 views

Eyoung
Forum|alt.badge.img+10

Is it possible to use a profile to add a wireless network to a system at time of imaging? Double clicking it works fine, but I require no user interaction.

thanks.

Best answer by nessts

if the file resides in /var/db/ConfigurationProfiles/Setup
in theory it will get imported
i wound up moving them to another location and importing them when i wanted them imported with a profiles -I -F /path/file/config.mobileconfig

i have found that one configuration setting per profile is a bit easier to deal with and the apple auto importing thing only imports all profiles 10% of the time. so i look in my location, and install all of them and it always works.

4 replies

Forum|alt.badge.img+18
  • Valued Contributor
  • May 23, 2012

yes i just tested that on Friday last week and it had all the settings to connect to my wireless network when it booted.


Eyoung
Forum|alt.badge.img+10
  • Author
  • Contributor
  • May 23, 2012

Awesome!

ummmm... How? :-)

I was thinking that I could put the .mobileconfig file someplace with composer (I was thinking along the lines of /Library/Prefs/Systemconfig) and then script the "profiles" command to install it at reboot.

not having any luck with that line of thought thus far.


Forum|alt.badge.img+18
  • Valued Contributor
  • Answer
  • May 23, 2012

if the file resides in /var/db/ConfigurationProfiles/Setup
in theory it will get imported
i wound up moving them to another location and importing them when i wanted them imported with a profiles -I -F /path/file/config.mobileconfig

i have found that one configuration setting per profile is a bit easier to deal with and the apple auto importing thing only imports all profiles 10% of the time. so i look in my location, and install all of them and it always works.


Eyoung
Forum|alt.badge.img+10
  • Author
  • Contributor
  • May 24, 2012

thank you :-)