diff --git a/templates/vanilla-sequoia.pkr.hcl b/templates/vanilla-sequoia.pkr.hcl index afd0f2b..b08916b 100644 --- a/templates/vanilla-sequoia.pkr.hcl +++ b/templates/vanilla-sequoia.pkr.hcl @@ -62,9 +62,12 @@ source "tart-cli" "tart" { # Choose Your Look "", # Welcome to Mac - "", - # Enable Voice Over - "v", + "", + # Enable Keyboard navigation + # 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", # Navigate to "Sharing" @@ -75,6 +78,8 @@ source "tart-cli" "tart" { "", # Disable Voice Over "", + # Quit System Settings + "q", ] // A (hopefully) temporary workaround for Virtualization.Framework's @@ -99,9 +104,7 @@ build { // Disable screensaver for admin user "defaults -currentHost write com.apple.screensaver idleTime 0", // Prevent the VM from sleeping - "sudo systemsetup -setdisplaysleep Off 2>/dev/null", "sudo systemsetup -setsleep Off 2>/dev/null", - "sudo systemsetup -setcomputersleep Off 2>/dev/null", // Launch Safari to populate the defaults "/Applications/Safari.app/Contents/MacOS/Safari &", "SAFARI_PID=$!",