Some notes for creating and managing Mac OSx images and then distributing them onto client machines via NetRestore
- Mac mini (Late 2012)
- macOS Sierra Version 10.12.6
- Mac Server Version 5.3.1
- iMac 21.5" Desktop Intel 3.06 GHz, 4GB DDR3 RAM, 500GB HDD - MB950LL/A
- Assign server static ip address
- Set up
DNSserver - Assign server a
FQDNand add asDNSentry (may not be needed) - Add server's local domain name as
DNSentry (may not be needed) - Modify network settings to use
127.0.0.1asDNS. Test viapinginterminal - Set up
File Sharingto hostOpen Directoryuser home folders. Share home folders overNFS - Select appropriate volume in
NetInstallto hold images - Set up
Open Directory
- Create a partition to hold the image. We'll call it
Image - Create bootable USB drive: https://gist.github.com/awei01/7ed444ab6a85b2eaecf29c122bbaadaf
- Reboot machine and boot from the USB
- Install OSx onto the
Imagepartition - Make whatever customizations needed
- Modify
/etc/hoststo resolve domain names to the ip address for server
- Reboot machine into the main
SystemwhereMac OSx Serveris running - Click
Tools > System Image Utility - Select
Imageas the source - Select
NetRestore - In
System Configurationset a name forGenerate Names. We'll useClient - Add the
Directory Server Automatically install toLocal HD