Files
instance-setup-stuff/ghost_server-credentials copy.exp

15 lines
211 B
Plaintext

#!/usr/bin/expect
set email "<email_address>"
set pw "<password>"
spawn ghost backup
expect "Ghost administrator email address"
send "$email\r"
expect "Ghost administrator password"
send "$pw\r"
expect eof