Skip to content
forked from todd-dsm/mac-ops

QnD Automation to build a MacBook Pro for DevOps

License

Notifications You must be signed in to change notification settings

upstarter/mac-ops

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mac-ops

Automation to build a great MBP Desktop with a base configurtion for DevOps people. Before you can build anything, you first need the tools.

This needs refactoring but its still better than starting from scratch. If you find value in it, please feel free to fork/use it.


Documentation

Before jumping in, you should probably check the wiki first. This may not be for you.


Pre-Game

Assuming this is a fresh macOS, run the install prep script to:

  • Get the latest OS Updates,
  • Install the Xcode CLI Tools
  • Make sure you have a Github account then attach your public ssh key to the account, and
  • Save some details about apps that are currently installed.
curl -fsSL https://goo.gl/j2y1Dn 2>&1 | bash | tee /tmp/install-prep.out

If you need to backup first, check the rsync-backups page. The restore process (in this script) relies on a consistent backup ;-)


Kick-off

Once you're all backed-up, auto-magically configure the new macOS:

Make sure you have your ssh keys restored from backup.

Clone the repo down to your laptop:

git clone [email protected]:todd-dsm/mac-ops.git && cd mac-ops/


CONFIGURE THE VARIABLES

vi my-vars.env


Kick off the script:

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


Post-Game

  • Import your Terminal profile, if you have one.
  • Finish any outstanding System Preferences configurations.
  • Close all of your windows.
  • Reboot the system

Then you're ready to start.

About

QnD Automation to build a MacBook Pro for DevOps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%