https://github.com/inloco/macami
macOS Amazon Machine Image built with Packer
https://github.com/inloco/macami
aws ec2 hacktoberfest macos packer
Last synced: 3 months ago
JSON representation
macOS Amazon Machine Image built with Packer
- Host: GitHub
- URL: https://github.com/inloco/macami
- Owner: inloco
- Created: 2021-10-29T03:06:35.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-05T02:00:10.000Z (about 1 year ago)
- Last Synced: 2025-03-25T09:47:31.361Z (3 months ago)
- Topics: aws, ec2, hacktoberfest, macos, packer
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# MacAMI
macOS Amazon Machine Image built with Packer
## Building
Firstly, make sure `sshd` is installed on your system and that it has generated host keys for you.
```bash
cat /etc/ssh/ssh_host_rsa_key.pub
```Then, check you are able to resolve `ip-${XXX}-${YYY}-${ZZZ}-${WWW}.ec2.internal`.
```bash
dig ip-10-0-0-1.ec2.internal
```Now, build and run EC2 Instance Connect Bastion on your machine.
```bash
git clone https://github.com/inloco/ec2-instance-connect-bastion
cd ec2-instance-connect-bastion
go build
sudo cat /etc/ssh/ssh_host_rsa_key | ./ec2-instance-connect-bastion /dev/stdin
```While EIC Bastion is running, bake the AMI.
```bash
make
```