Awesome
m2-provisioner
My PC (M2 Mac) provisioner
since
Prerequisite
OS
- macOS Sonoma ~ (zsh)
- Mac mini (M2)
Security
- Allow full access to terminal.app
- System Environment Settings -> Security & Privacy
Install
-
Install Homebrew (refs https://brew.sh/)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Install Ansible
brew update brew install ansible
-
Install aqua
brew update brew install aquaproj/aqua/aqua
-
Install Rust (install cargo,rustup)
brew update brew install rustup-init rustup-init
-
Install Rosetta (refs https://support.apple.com/HT211861) [if necessary]
Prepare
-
Clone this repository
git clone https://github.com/sogaoh/m2-provisioner.git
-
Set
variables.yaml
(If runmake ma
)mackerel_agent_apikey: "<your_key>"
-
Create directory
mkdir -p ~/.config/peco mkdir -p ~/.ssh/.identity mkdir -p ~/.ssh/conf.d chmod 700 ~/.ssh
Run Setup
cd /path/to/m2-provisioner
make prezto # probably just for me
make dot # probably just for me
make gui
make cli
make aqu # update
make aqi # install
make rust
optional
make ma # install mackerel-agent
make awsume # setup awsume
make nerd-font # install nerd-font (refs https://www.nerdfonts.com/)
-
AWS Session Manager Plugin
-
AWS Serverless Application Model (SAM) CLI :