Skip to content

todd-dsm/mac-ops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mac-ops - Sequoia

Sequoia (macOS v15.x) marks the rebirth of mac-ops.

TL;DR

You need the tools before you can build anything. Herein lies automation to configure a full-featured (and highly opinionated) macOS that aims to support Platform Engineering (SRE/DevOps) work. Read the full breakdown if you care.

Pre-Game

  1. generate a new SSH key if necessary
  2. associate the SSH key with your GitHub account
  3. Test it out:
% ssh -T git@github.com
Hi yourUserName! You've successfully authenticated, but GitHub does not provide shell access.

Clone the repo down to your laptop:

gclonecd git@github.com:todd-dsm/mac-ops.git

Or, if this is your first time:

git clone git@github.com:todd-dsm/mac-ops.git && cd mac-ops/

CONFIGURE YOUR VARIABLES

vi my-vars.env (or however you edit files)


Manually:

  • Update macOS to the latest major or minor (patch) version
  • Install the Xcode CLI Tools: xcode-select --install
  • then run the phase-1 automation:
tools/install-prep.sh 2>&1 | tee /tmp/install-prep.out

This is all over in ~03:30; when it's all over, you will see:

         __                                     __
  ____  / /_     ____ ___  __  __   ____  _____/ /_
 / __ \/ __ \   / __ `__ \/ / / /  /_  / / ___/ __ \
/ /_/ / / / /  / / / / / / /_/ /    / /_(__  ) / / /
\____/_/ /_/  /_/ /_/ /_/\__, /    /___/____/_/ /_/
                        /____/                       ....is now installed!

To back out of the new Oh My ZSH shell just press: CTRL+d

Then follow the ons-screen instructions.


The mac-ops Config

This is the final step.

./bootstrap.sh ANSIBLE_NOCOLOR=True 2>&1 | tee ~/.config/admin/logs/mac-ops-config.out

This step lasts ~14:30; again, follow the ons-screen instructions, or continue to post-install steps.

In under an hour, you're ready to start working.