mirror of
https://github.com/cirruslabs/macos-image-templates.git
synced 2026-10-22 03:24:04 +02:00
Enable UI automation by default (#137)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#!/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."
|
||||
@@ -102,4 +102,9 @@ build {
|
||||
"brew install awscli"
|
||||
]
|
||||
}
|
||||
|
||||
# Enable UI automation, see https://github.com/cirruslabs/macos-image-templates/issues/136
|
||||
provisioner "shell" {
|
||||
script = "scripts/automationmodetool.expect"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user