You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Language
"<wait30s>english<enter>",
# Select Your Country and Region
"<wait30s>united states<leftShiftOn><tab><leftShiftOff><spacebar>",
With this :
# Language
"<wait30s><enter>",
# Select Your Country and Region
"<wait30s><leftShiftOn><tab><leftShiftOff><spacebar>",
# Gender
"<wait10s><leftShiftOn><tab><tab><leftShiftOff><spacebar>",
Here's the full template:
packer {
required_plugins {
tart= {
version=">= 1.2.0"source="github.com/cirruslabs/tart"
}
}
}
source"tart-cli""tart" {
# YoucanfindmacOSIPSWURLsonvariouswebsites like https://ipsw.me/
# and https://www.theiphonewiki.com/wiki/Beta_Firmware/Mac/13.xfrom_ipsw="13.4.ipsw"vm_name="ventura"cpu_count=4memory_gb=8disk_size_gb=25ssh_password="admin"ssh_username="admin"ssh_timeout="120s"boot_command= [
# hello, hola, bonjour, etc.
"<wait60s><spacebar>",
# !Language"<wait30s><enter>",
# !SelectYourCountryandRegion"<wait30s><leftShiftOn><tab><leftShiftOff><spacebar>",
# !Gender"<wait10s><leftShiftOn><tab><tab><leftShiftOff><spacebar>",
# WrittenandSpokenLanguages"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar>",
# Accessibility"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar>",
# Data&Privacy"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar>",
# MigrationAssistant"<wait10s><tab><tab><tab><spacebar>",
# SignInwithYourAppleID"<wait10s><leftShiftOn><tab><leftShiftOff><leftShiftOn><tab><leftShiftOff><spacebar>",
# AreyousureyouwanttoskipsigninginwithanAppleID?
"<wait10s><tab><spacebar>",
# TermsandConditions"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar>",
# IhavereadandagreetothemacOSSoftwareLicenseAgreement"<wait10s><tab><spacebar>",
# CreateaComputerAccount"<wait10s>admin<tab><tab>admin<tab>admin<tab><tab><tab><spacebar>",
# EnableLocationServices"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar>",
# Areyousureyoudon't wanttouseLocationServices?
"<wait10s><tab><spacebar>",
# SelectYourTimeZone"<wait10s><tab>paris<enter><leftShiftOn><tab><leftShiftOff><spacebar>",
# Analytics"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar>",
# ScreenTime"<wait10s><tab><spacebar>",
# Siri"<wait10s><tab><spacebar><leftShiftOn><tab><leftShiftOff><spacebar>",
# ChooseYourLook"<wait10s><leftShiftOn><tab><leftShiftOff><spacebar>",
# EnableVoiceOver"<wait10s><leftAltOn><f5><leftAltOff><wait5s>v",
# Nowthattheinstallationisdone, open"System Settings""<wait10s><leftAltOn><spacebar><leftAltOff>System Settings<enter>",
# Navigateto"Sharing""<wait10s><leftAltOn>f<leftAltOff>partage<enter>",
# Navigateto"Screen Sharing"andenableit"<wait10s><tab><down><spacebar>",
# Navigateto"Remote Login"andenableit"<wait10s><tab><tab><tab><tab><tab><tab><spacebar>",
# Open"Remote Login"details"<wait10s><tab><spacebar>",
# Enable"Full Disk Access""<wait10s><tab><spacebar>",
# Click"Done""<wait10s><leftShiftOn><tab><leftShiftOff><leftShiftOn><tab><leftShiftOff><spacebar>",
# DisableVoiceOver"<leftAltOn><f5><leftAltOff>",
]
// A (hopefully) temporary workaround for Virtualization.Framework's// installation process not fully finishing in a timely mannercreate_grace_time= "30s"
}
build {
sources= ["source.tart-cli.tart"]
provisioner"shell" {
inline= [
// Enable passwordless sudo"echo admin | sudo -S sh -c \"mkdir -p /etc/sudoers.d/; echo 'admin ALL=(ALL) NOPASSWD: ALL' | EDITOR=tee visudo /etc/sudoers.d/admin-nopasswd\"",
// Enable auto-login//// See https://github.com/xfreebird/kcpassword for details."echo '00000000: 1ced 3f4a bcbc ba2c caca 4e82' | sudo xxd -r - /etc/kcpassword",
"sudo defaults write /Library/Preferences/com.apple.loginwindow autoLoginUser admin",
// Disable screensaver at login screen"sudo defaults write /Library/Preferences/com.apple.screensaver loginWindowIdleTime 0",
// Disable screensaver for admin user"defaults -currentHost write com.apple.screensaver idleTime 0",
// Prevent the VM from sleeping"sudo systemsetup -setdisplaysleep Off",
"sudo systemsetup -setsleep Off",
"sudo systemsetup -setcomputersleep Off",
// Launch Safari to populate the defaults"/Applications/Safari.app/Contents/MacOS/Safari &",
"sleep 30",
"kill -9 %1",
// Enable Safari's remote automation and "Develop" menu"sudo safaridriver --enable",
"defaults write com.apple.Safari.SandboxBroker ShowDevelopMenu -bool true",
"defaults write com.apple.Safari IncludeDevelopMenu -bool true",
// Disable screen lock//// Note that this only works if the user is logged-in,// i.e. not on login screen."sysadminctl -screenLock off -password admin",
]
}
}
mac.mp4
The text was updated successfully, but these errors were encountered:
I used this build template: https://github.com/cirruslabs/macos-image-templates/blob/master/templates/vanilla-ventura.pkr.hcl
Which I modified to have the French language with the AZERTY keyboard.
But something strange happens when it writes "admin" = "qd,in", it doesn't seem to come from the QWERTY either...
In my template I just replaced :
With this :
Here's the full template:
mac.mp4
The text was updated successfully, but these errors were encountered: