update user creation tool
This commit is contained in:
parent
2bae5983c7
commit
277ca32367
|
@ -1,12 +1,13 @@
|
||||||
#!/usr/bin/expect
|
#!/usr/bin/expect
|
||||||
eval spawn /opt/postal/bin/postal make-user
|
eval spawn /opt/postal/bin/postal make-user
|
||||||
expect "E-Mail"
|
expect "E-Mail"
|
||||||
send "$env(POSTAL_EMAIL)\n"
|
send "$env(POSTAL_EMAIL)\r"
|
||||||
expect "First Name"
|
expect "First Name"
|
||||||
send "$env(POSTAL_FNAME)\n"
|
send "$env(POSTAL_FNAME)\r"
|
||||||
expect "Last Name"
|
expect "Last Name"
|
||||||
send "$env(POSTAL_LNAME)\n"
|
send "$env(POSTAL_LNAME)\r"
|
||||||
expect "Password"
|
expect "Password"
|
||||||
send "$env(POSTAL_PASSWORD)\n"
|
sleep 5
|
||||||
send "\n"
|
send "$env(POSTAL_PASSWORD)\r"
|
||||||
|
send "\r"
|
||||||
interact
|
interact
|
||||||
|
|
Loading…
Reference in New Issue
Block a user