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
|
if [ "$CKAN_CREATE_USER" == "True" ] ; then
|
||||||
# Create the admin user
|
# Create the admin user
|
||||||
paster sysadmin add $CK_ADMIN -c $CK_INI << EOF
|
paster user -c $CK_INI add $CK_ADMIN password=$CK_ADMIN_PWD email=ckan_admin@d4science.org
|
||||||
y
|
paster -c $CK_INI sysadmin add $CK_ADMIN
|
||||||
|
|
||||||
$CK_ADMIN_PWD
|
|
||||||
$CK_ADMIN_PWD
|
|
||||||
|
|
||||||
|
|
||||||
EOF
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get the admin key
|
# Get the admin key
|
||||||
|
|
Loading…
Reference in New Issue