From e450cc9106f644591e3e38d2db0d3b007f3e573d Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 23 May 2022 13:37:13 +0200 Subject: [PATCH] todos --- single-host/server.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/single-host/server.tf b/single-host/server.tf index 6edea13..85ce6e6 100644 --- a/single-host/server.tf +++ b/single-host/server.tf @@ -7,12 +7,14 @@ resource "hcloud_server" "single-server1" { type = "single" } ssh_keys = [hcloud_ssh_key.default.id] + # TODO: user_data seems to have no effect on VM yet user_data = jsonencode({ "users": { "name": "ansible", "groups": ["users", "admin"], "sudo": "ALL=(ALL) NOPASSWD:ALL", "shell": "/bin/bash", + # TODO: have some sort of lookup for the pubkey (include from file?) "ssh_authorized_keys": ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE32LygGZyJonoWVjRgQ0Hq8iy39aLs+oH5Flmn9RhAj terraform melpomene"] }, "package_update": true,