This commit is contained in:
Brian Zalewski 2023-07-10 07:54:03 +00:00
parent 54a5601556
commit 1c4563bf1a
2 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@
<array> <array>
<string>/usr/local/bin/bash</string> <string>/usr/local/bin/bash</string>
<string>-c</string> <string>-c</string>
<string>cp -f "{{ .data.user.home }}/Library/Managed Preferences/com.cloudflare.warp.plist" "/Library/Managed Preferences/com.cloudflare.warp.plist" && plutil -convert binary1 "/Library/Managed Preferences/com.cloudflare.warp.plist"</string> <string>cp -f "{{ .host.home }}/Library/Managed Preferences/com.cloudflare.warp.plist" "/Library/Managed Preferences/com.cloudflare.warp.plist" && plutil -convert binary1 "/Library/Managed Preferences/com.cloudflare.warp.plist"</string>
</array> </array>
<key>StartCalendarInterval</key> <key>StartCalendarInterval</key>
<dict> <dict>

View file

@ -1,9 +1,9 @@
{{- $baseDomain := (join (join (.host.hostname ".") .host.domain)) -}} {{- $baseDomain := (join (join .host.hostname ".") .host.domain) -}}
{{- if .host.qubes -}} {{- if .host.qubes -}}
{{- $baseDomain := (join (join (.host.hostname "-qube.") .host.domain)) -}} {{- $baseDomain := (join (join .host.hostname "-qube.") .host.domain) -}}
{{- end -}} {{- end -}}
--- ---
tunnel: {{ if .host.qubes }}qube{{ else }}host{{ end }}-{{ .host.hostname }} tunnel: {{ if eq .host.qubes true }}qube{{ else }}host{{ end }}-{{ .host.hostname }}
credentials-file: /usr/local/etc/cloudflared/credentials.json credentials-file: /usr/local/etc/cloudflared/credentials.json
warp-routing: warp-routing: