From d894fdbb687015be327275ba7f48f271679440bf Mon Sep 17 00:00:00 2001 From: ILoveYaToo Date: Wed, 20 May 2020 00:18:10 -0400 Subject: [PATCH] add missing file --- ubuntu/src/create-user.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 ubuntu/src/create-user.sh 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