-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #831 from amitkarsale/vanagon-237
(vanagon-237) Added macos14 ARM platform definition to vanagon
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
platform 'osx-14-arm64' do |plat| | ||
plat.brew '/opt/homebrew/bin/brew' | ||
plat.servicetype 'launchd' | ||
plat.servicedir '/Library/LaunchDaemons' | ||
plat.codename 'sonoma' | ||
|
||
plat.provision_with 'export HOMEBREW_NO_EMOJI=true' | ||
plat.provision_with 'export HOMEBREW_VERBOSE=true' | ||
plat.provision_with "export HOMEBREW_NO_ANALYTICS=1" | ||
|
||
plat.provision_with 'sudo dscl . -create /Users/test' | ||
plat.provision_with 'sudo dscl . -create /Users/test UserShell /bin/bash' | ||
plat.provision_with 'sudo dscl . -create /Users/test UniqueID 1001' | ||
plat.provision_with 'sudo dscl . -create /Users/test PrimaryGroupID 1000' | ||
plat.provision_with 'sudo dscl . -create /Users/test NFSHomeDirectory /Users/test' | ||
plat.provision_with 'sudo dscl . -passwd /Users/test password' | ||
plat.provision_with 'sudo dscl . -merge /Groups/admin GroupMembership test' | ||
plat.provision_with 'echo "test ALL=(ALL:ALL) NOPASSWD: ALL" > /etc/sudoers.d/username' | ||
plat.provision_with 'mkdir -p /etc/homebrew' | ||
plat.provision_with 'cd /etc/homebrew' | ||
plat.provision_with 'createhomedir -c -u test' | ||
plat.provision_with 'su test -c \'echo | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"\'' | ||
plat.vmpooler_template 'macos-14-arm64' | ||
end |