at my client we have a zoo of MacPro's Ethernet , MacBooks with Thunderbolt-Ethernet and Thunderbolt-Displays.
While we're upgrading the Macs to latest Yosemite (ElCapitan is not an option because of the productive environment), clients often "forget" the Network-Settings (DNS-Servers and Proxy).
Normally, we have three locations:
Client_Net: Only Ethernet, Thunderbolt-Ethernet or Display-Ethernet enabled Special DNS and Proxy
Client_WIFI: Only WIFI enabled Special DNS and Proxy
WIFI-Free Any Adapter can be active and can be used (WIFI, Thunderbolt-Ethernet,...) No special settings.
My question:
How to put it with "networksetup" into a script that these networksettings/locations are with a firstboot-script are enabled again?
Thank you! Holger
Best answer by Chris
Hi Holger,
here's a redacted version of the networksetup script i use, you may be able to adjust it to your needs:
Depending on in which scenario you use it, it might be useful to blow away any locations that existed previously before running this (or add a couple lines to the beginning to take care of this)
Depending on in which scenario you use it, it might be useful to blow away any locations that existed previously before running this (or add a couple lines to the beginning to take care of this)
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.