Removed prompting
This commit is contained in:
parent
c5a6b7a8b1
commit
2e70a1068f
2 changed files with 4 additions and 24 deletions
|
@ -6,10 +6,10 @@ Using this script for the first time? Check out [our documentation](https://inst
|
|||
|
||||
Adapting this project for your own purposes basically boils down to a few steps:
|
||||
|
||||
1. Fork our [GitHub project](https://github.com/megabyte-labs/install.doctor)
|
||||
2. Generate an Age encryption key
|
||||
3. Use the Age encryption key to populate the secrets in `home/.chezmoitemplates`
|
||||
4. Customize the values in `home/.chezmoidata.yaml` and `home/.chezmoi.yaml.tmpl`
|
||||
1. [Fork our GitHub project](https://github.com/megabyte-labs/install.doctor/fork).
|
||||
2. Generate an Age encryption key.
|
||||
3. Use the Age encryption key to populate the secrets in `home/.chezmoitemplates`. For help, check out the [Secrets documentation](https://install.doctor/docs/customization/secrets).
|
||||
4. Customize the values in `home/.chezmoidata.yaml` and `home/.chezmoi.yaml.tmpl`.
|
||||
|
||||
## Headless Deploy
|
||||
|
||||
|
|
|
@ -96,26 +96,6 @@
|
|||
{{- else }}
|
||||
{{- $work = false -}}
|
||||
{{- end -}}
|
||||
{{- else if not (env "WORK_ENVIRONMENT") -}}
|
||||
{{- $work = promptBoolOnce $data.host "work" "Work environment" $work -}}
|
||||
{{- end -}}
|
||||
{{- if not (env "RESTRICTED_ENVIRONMENT") -}}
|
||||
{{- $restricted = promptBoolOnce $data.host "restricted" "Restricted environment (i.e. no sudo)" $restricted -}}
|
||||
{{- end -}}
|
||||
{{- if not (env "SOFTWARE_GROUP") -}}
|
||||
{{- $softwareGroup = promptStringOnce $data.host "softwareGroup" "Software group" $softwareGroup -}}
|
||||
{{- end -}}
|
||||
{{- if not (env "FULL_NAME") -}}
|
||||
{{- $name = promptStringOnce $data.user "name" "Full name" $name -}}
|
||||
{{- end -}}
|
||||
{{- if not (env "PRIMARY_EMAIL") -}}
|
||||
{{- $email = promptStringOnce $data.user "email" "Primary e-mail address" $email -}}
|
||||
{{- end -}}
|
||||
{{- if not (env "PUBLIC_SERVICES_DOMAIN") -}}
|
||||
{{- $domain = promptStringOnce $data.user "domain" "Domain name" $domain -}}
|
||||
{{- end -}}
|
||||
{{- if not (env "HOST") -}}
|
||||
{{- $hostname = promptStringOnce $data.host "hostname" "Hostname ID" $hostname -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- else -}}
|
||||
|
|
Loading…
Reference in a new issue