tart-macos-image-templates/scripts/automationmodetool.expect

7 lines
258 B
Plaintext

#!/usr/bin/expect -f
spawn automationmodetool enable-automationmode-without-authentication
expect "Enter the password for user 'admin':"
send "admin\n"
expect "Setting up machine to allow Automation Mode without requiring user authentication... succeeded."