Skip to content

Instantly share code, notes, and snippets.

awei01 /
Created November 19, 2018 17:17 — forked from rudelm/
Use autofs on Mac OS X to mount network shares automatically during access

Autofs on Mac OS X

With autofs you can easily mount network volumes upon first access to the folder where you want to mount the volume. Autofs is available for many OS and is preinstalled on Mac OS X so I show you how I mounted my iTunes library folder using this method.

Prepare autofs to use a separate configuration file

autofs needs to be configured so that it knows where to gets its configuration. Edit the file '/etc/auto_master' and add the last line:

# Automounter master map

+auto_master # Use directory service

awei01 /
Last active August 8, 2017 19:00 — forked from wrossmck/
Convert Downloaded El to bootable iso
# Maybe use this:
#taken from
# Mount the installer image
hdiutil attach /Applications/Install\ OS\ X\ El\ -noverify -nobrowse -mountpoint /Volumes/install_app
# Create the ElCapitan Blank ISO Image of 7316mb with a Single Partition - Apple Partition Map
awei01 /
Created August 1, 2017 20:06 — forked from rdpompeo/
Creating an image for NetRestore on macOs Server

Creating NetRestore Image for macOS Sever

  1. Create Partition with clean install of latest mac OS (sierra)
  2. Install/Configure the partition with desired applications, such as firefox or chrome, and files/documents you wish to be included on the image.
  3. Navigate to other partition on the same hard drive

Create .nbi file

  1. Open System Image Utility
  2. Under Source, select the partition you just created and loaded with apps/files.
  3. Follow instructions, make sure to select NetRestore, then the image will start to be created.

Setup OSX Server

Install OSx Server

  1. Install the Server App from the App store.
  2. Run the server app and choose to run the server from your current machine.