#!/usr/bin/expect spawn ./flux-bootstrap-staging.sh expect -re ".*Please give the key access to your repository\?.*\[y/N\]" send -- "y\r" interact