Skip to content

Commit

Permalink
provide correct privkey format to nixos-anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
RafDevX committed Sep 25, 2024
1 parent a83b194 commit 08fdf8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hosts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module "nixos_install" {
instance_id = hcloud_server.cluster_hosts[each.key].id

# this being marked as sensitive hides all output from nixos-anywhere, but that does not print the private key so this is fine
install_ssh_key = nonsensitive(tls_private_key.bootstrap.private_key_pem)
install_ssh_key = nonsensitive(tls_private_key.bootstrap.private_key_openssh)
install_user = "root"

target_user = var.ssh_user
Expand Down

0 comments on commit 08fdf8b

Please sign in to comment.