We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8af7786 commit 585d362Copy full SHA for 585d362
lib/vanagon/platform/defaults/osx-15-arm64.rb
@@ -17,7 +17,7 @@
17
plat.provision_with 'sudo dscl . -merge /Groups/admin GroupMembership test'
18
plat.provision_with 'echo "test ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/username'
19
plat.provision_with 'sudo chmod 0440 /etc/sudoers.d/username'
20
- plat.provision_with 'su test -c \'sudo mkdir -p /etc/homebrew\''
+ plat.provision_with 'sudo mkdir -p /etc/homebrew && chown test /etc/homebrew'
21
plat.provision_with 'cd /etc/homebrew'
22
plat.provision_with 'createhomedir -c -u test'
23
plat.provision_with 'su test -c \'echo | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"\''
0 commit comments