This commit is contained in:
Brian Zalewski 2023-08-02 03:27:59 +00:00
parent 311baac33f
commit ebd5442608
2 changed files with 5 additions and 0 deletions

View file

@ -238,7 +238,12 @@ fi
### Set up CloudFlare tunnels ### Set up CloudFlare tunnels
echo 'Registration token debug:' echo 'Registration token debug:'
echo -n '{{ includeTemplate (print "cloudflared/" .host.hostname) | decrypt }}' echo -n '{{ includeTemplate (print "cloudflared/" .host.hostname) | decrypt }}'
echo "ZZZZZZZZZZZZ"
echo -n '{{ $registrationToken }}'
echo "OOOOOOOOOOOOO"
echo '{{ $registrationToken }}' echo '{{ $registrationToken }}'
echo '555555'
echo '{{( stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "cloudflared" .host.hostname)) }}
if command -v cloudflared > /dev/null && [ -d "$HOME/.local/etc/cloudflared" ]; then if command -v cloudflared > /dev/null && [ -d "$HOME/.local/etc/cloudflared" ]; then
# Show warning message about ~/.cloudflared already existing # Show warning message about ~/.cloudflared already existing
if [ -d "$HOME/.cloudflared" ]; then if [ -d "$HOME/.cloudflared" ]; then