From be90586d8ad5c1c1f302422bf98d29a150312c03 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Mon, 16 Aug 2021 16:44:27 -0400 Subject: [PATCH] account for freebsd VMs --- private_dot_ssh/private_authorized_keys.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/private_dot_ssh/private_authorized_keys.tmpl b/private_dot_ssh/private_authorized_keys.tmpl index edc90ac..4f63112 100644 --- a/private_dot_ssh/private_authorized_keys.tmpl +++ b/private_dot_ssh/private_authorized_keys.tmpl @@ -1,5 +1,7 @@ {{- if (eq .chezmoi.hostname "hydrogen") -}} {{ (bitwardenAttachment "hydrogen.pub" "selfhosted-ssh-keys") }} +{{- else if (hasSuffix "freebsd" .chezmoi.hostname) -}} +{{ (bitwardenAttachment "hydrogen.pub" "selfhosted-ssh-keys") }} {{- else if (eq .chezmoi.hostname "lithium") -}} {{ (bitwardenAttachment "lithium.pub" "selfhosted-ssh-keys") }} {{- end -}}