retry, now generating in manifest instead of install'
:
This commit is contained in:
parent
1be91cc2dd
commit
9519cfaa43
2 changed files with 5 additions and 2 deletions
|
@ -46,6 +46,7 @@ ram.runtime = "100M"
|
|||
default = "all_users"
|
||||
|
||||
# for now no credentials configured, make it install first
|
||||
token=$(tr -dc A-Za-z0-9 </dev/urandom | head -c 60)
|
||||
[install.user]
|
||||
help.en = "The name of the user"
|
||||
type = "string"
|
||||
|
@ -56,7 +57,9 @@ ram.runtime = "100M"
|
|||
help.en = "Use the help field to add an information for the admin about this question."
|
||||
help.fr = "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
|
||||
type = "password"
|
||||
|
||||
[install.token]
|
||||
type = "string"
|
||||
|
||||
[resources]
|
||||
# See the packaging documentation for the full set
|
||||
# of explanation regarding the behavior and properties for each of those
|
||||
|
|
|
@ -95,7 +95,7 @@ ynh_composer_exec install --no-dev
|
|||
ynh_script_progression "configuring $app..."
|
||||
|
||||
# Generate a random alfanumeric string as API token
|
||||
token = $(tr -dc A-Za-z0-9 </dev/urandom | head -c 60)
|
||||
|
||||
|
||||
pushd "$install_dir"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue