aws / ec2-macos-init

EC2 macOS Init is the launch daemon used to initialize Mac instances within EC2.
https://aws.amazon.com/ec2/instance-types/mac/
Apache License 2.0
148 stars 19 forks source link

feat: add command to grow root APFS volume #35

Closed mattcataws closed 1 year ago

mattcataws commented 1 year ago

Issue #, if available: N/A

Description of changes: The current EC2 macOS AMIs default to an APFS volume size of 100 GB. Volumes with larger sizes are not automatically usable when the instance becomes available.

This change adds a new command to use ec2-macos-utils to grow the root APFS volume to its maximum size. This will allow 100% of the volumes size to be available when the instance becomes available.

See https://github.com/aws/ec2-macos-utils#growing-apfs-containers

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.