forked from ISTI-ansible-roles/ansible-roles
Fix the ckan_connector_fixer. It is not interactive anymore.
This commit is contained in:
parent
26f12b74ee
commit
186fe446cc
|
@ -46,15 +46,8 @@ cd /usr/lib/ckan/default/src/ckan
|
|||
|
||||
if [ "$CKAN_CREATE_USER" == "True" ] ; then
|
||||
# Create the admin user
|
||||
paster sysadmin add $CK_ADMIN -c $CK_INI << EOF
|
||||
y
|
||||
|
||||
$CK_ADMIN_PWD
|
||||
$CK_ADMIN_PWD
|
||||
|
||||
|
||||
EOF
|
||||
|
||||
paster user -c $CK_INI add $CK_ADMIN password=$CK_ADMIN_PWD email=ckan_admin@d4science.org
|
||||
paster -c $CK_INI sysadmin add $CK_ADMIN
|
||||
fi
|
||||
|
||||
# Get the admin key
|
||||
|
|
Loading…
Reference in New Issue