Fix cloudflare script
This commit is contained in:
parent
23fb9be4df
commit
b317663d82
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ echo "{{ joinPath .chezmoi.sourceDir ".chezmoitemplates" "cloudflared" .host.hos
|
||||||
echo "{{ stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "cloudflared" .host.hostname) }}"
|
echo "{{ stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "cloudflared" .host.hostname) }}"
|
||||||
{{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "cloudflared" .host.hostname)) -}}
|
{{- if and (stat (joinPath .host.home ".config" "age" "chezmoi.txt")) (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "cloudflared" .host.hostname)) -}}
|
||||||
echo "IN HEREEE"
|
echo "IN HEREEE"
|
||||||
{{- $registrationToken := (includeTemplate (print "cloudflared/" .host.hostname) | decrypt) -}}
|
{{- $registrationToken = (includeTemplate (print "cloudflared/" .host.hostname) | decrypt) -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
### Set up CloudFlare tunnels
|
### Set up CloudFlare tunnels
|
||||||
echo 'Registration token debug:'
|
echo 'Registration token debug:'
|
||||||
|
|
Loading…
Reference in a new issue