mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-13 02:11:28 -06:00
Fix privateDomain required multiple times, use promptStringOnce
This commit is contained in:
@@ -33,6 +33,8 @@
|
|||||||
{{- $wsl = (.chezmoi.kernel.osrelease | lower | contains "microsoft") -}}
|
{{- $wsl = (.chezmoi.kernel.osrelease | lower | contains "microsoft") -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{ $privateDomain := promptStringOnce . "privateDomain" "What is the private domain" }}
|
||||||
|
|
||||||
[merge]
|
[merge]
|
||||||
command = "bash"
|
command = "bash"
|
||||||
args = [
|
args = [
|
||||||
@@ -41,9 +43,9 @@ args = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[data]
|
[data]
|
||||||
privateDomain = "{{ promptString "Enter the private domain" }}"
|
privateDomain = {{ $privateDomain | quote }}
|
||||||
chassis = "{{ $chassisType }}"
|
chassis = {{ $chassisType | quote }}
|
||||||
wsl = {{ $wsl }}
|
wsl = {{ $wsl | quote }}
|
||||||
|
|
||||||
[data.cpu]
|
[data.cpu]
|
||||||
cores = {{ $cpuCores }}
|
cores = {{ $cpuCores }}
|
||||||
|
|||||||
Reference in New Issue
Block a user