History: User Input
Preview of version: 1
- «
- »
Some profiles require minor modifications to be usable. For example, a writer may want to choose the name of his blog or a webmaster may want to change the contact information. Profiles allow to include user requests inside profiles. If they are not provided, a default value is used. The syntax to do so is:
The label must be unique as if reused in multiple profiles, the same value will be used for all of them when installing profiles with dependencies.
$profilerequest:Label of the value requested$Default value$
The label must be unique as if reused in multiple profiles, the same value will be used for all of them when installing profiles with dependencies.
Example
YAML
Copy to clipboard
preferences: feature_blogs: y objects: - type: blog ref: personal data: title: $profilerequest:Blog Title$My Personal Blog$ description: Random daily thoughts and travel stories user: $profilerequest:Blog Owner$admin$ use_title: y allow_comments: y - type: blog_post data: blog: $personal title: Sample Post content: This post was created by the installation profile.