limesurvey data provided by configuration
This commit is contained in:
@@ -55,10 +55,10 @@ EOF
|
||||
echo "create empty database <$longname> ... OK"
|
||||
|
||||
admin_username=$(echo -e "$data" | yq '.admin.username')
|
||||
[[ $admin_username == 'null ' ]] && echoerr "odoo12 recipe requires \`data:admin:username\` into miaou.yaml service definition of <$fqdn>" && exit 1
|
||||
[[ $admin_username = 'null' ]] && echoerr "odoo12 recipe requires \`data:admin:username\` into miaou.yaml service definition of <$fqdn>" && exit 1
|
||||
|
||||
admin_password=$(echo -e "$data" | yq '.admin.password')
|
||||
[[ $admin_password == 'null ' ]] && echoerr "odoo12 recipe requires \`data:admin:password\` into miaou.yaml service definition of <$fqdn>" && exit 1
|
||||
[[ $admin_password = 'null' ]] && echoerr "odoo12 recipe requires \`data:admin:password\` into miaou.yaml service definition of <$fqdn>" && exit 1
|
||||
|
||||
cat <<EOF | lxc_exec "$container"
|
||||
set -Eeuo pipefail
|
||||
|
||||
Reference in New Issue
Block a user