diff --git a/ubuntu/src/create-user.sh b/ubuntu/src/create-user.sh new file mode 100755 index 0000000..5b2219a --- /dev/null +++ b/ubuntu/src/create-user.sh @@ -0,0 +1,11 @@ +#!/usr/bin/expect +eval spawn /opt/postal/bin/postal make-user +expect "E-Mail" +send "$env(POSTAL_EMAIL)\n" +expect "First Name" +send "$env(POSTAL_FNAME)\n" +expect "Last Name" +send "$env(POSTAL_LNAME)\n" +expect "Password" +send "$env(POSTAL_PASSWORD)\n" +interact