diff --git a/templates/vanilla-tahoe.pkr.hcl b/templates/vanilla-tahoe.pkr.hcl index 13f2f33..d1cd3a3 100644 --- a/templates/vanilla-tahoe.pkr.hcl +++ b/templates/vanilla-tahoe.pkr.hcl @@ -81,9 +81,9 @@ source "tart-cli" "tart" { # This is so that we can navigate the System Settings app using the keyboard "Terminal", "defaults write NSGlobalDomain AppleKeyboardUIMode -int 3", - "q", # Now that the installation is done, open "System Settings" - "System Settings", + # On Tahoe opening System Settings through Spotlight is not very reliable, sometimes opens System information + "open '/System/Applications/System Settings.app'", # Navigate to "Sharing" "Sharing", # Navigate to "Screen Sharing" and enable it @@ -93,12 +93,11 @@ source "tart-cli" "tart" { # Quit System Settings "q", # Disable Gatekeeper (1/2) - "Terminal", "sudo spctl --global-disable", "admin", - "q", # Disable Gatekeeper (2/2) - "System Settings", + # On Tahoe opening System Settings through Spotlight is not very reliable, sometimes opens System information + "open '/System/Applications/System Settings.app'", "Privacy & Security", "", "",