This commit is contained in:
Brian Zalewski 2023-03-20 05:40:26 -04:00
parent 2377cbb800
commit 6f47ffd038
2 changed files with 4 additions and 3 deletions

View file

@ -8,7 +8,7 @@
{{- $githubUsername := (default "ProfessorManhattan" (env "GITHUB_USERNAME")) -}}
{{- $gmailAddress := (default "blzalewski@gmail.com" (env "GMAIL_ADDRESS")) -}}
{{- $gpgKeyId := (default "0xF0A300E4199A1C33" (env "KEYID")) -}}
{{- $hostname := (default "alpha" (env "HOSTNAME")) -}}
{{- $hostname := (default "alpha" (env "HOSTNAME_ID")) -}}
{{- $locale := (output "echo" "$LANG") }}
{{- $name := (default "Brian Zalewski" (env "FULL_NAME")) -}}
{{- $restricted := (default false (env "WORK_ENVIRONMENT")) -}}
@ -106,7 +106,7 @@
{{- if not (env "PUBLIC_SERVICES_DOMAIN") -}}
{{- $domain = promptStringOnce $data.user "domain" "Domain name" $domain -}}
{{- end -}}
{{- if not (env "HOSTNAME") -}}
{{- if not (env "HOSTNAME_ID") -}}
{{- $hostname = promptStringOnce $data.host "hostname" "Hostname ID" $hostname -}}
{{- end -}}

View file

@ -20,5 +20,6 @@ find "{{ .chezmoi.sourceDir }}/home/.chezmoitemplates/ssh" -type f | while read
logg info "Applying appropriate permissions on $HOME/.ssh/$(basename "$SSH_FILE")"
chmod 600 "$HOME/.ssh/$(basename "$SSH_FILE")"
fi
fi
done
{{ end -}}