microOS prep

This commit is contained in:
Karim Naufal
2022-02-05 00:02:25 +01:00
parent 87e6ac43f3
commit 3f0f0ca705
10 changed files with 27 additions and 25 deletions

View File

@@ -6,7 +6,7 @@ resource "hcloud_server" "control_planes" {
rescue = "linux64"
server_type = var.control_plane_server_type
location = var.location
ssh_keys = [hcloud_ssh_key.default.id]
ssh_keys = [hcloud_ssh_key.k3s.id]
firewall_ids = [hcloud_firewall.k3s.id]
placement_group_id = hcloud_placement_group.k3s_placement_group.id
@@ -36,7 +36,7 @@ resource "hcloud_server" "control_planes" {
provisioner "remote-exec" {
inline = local.k3os_install_commands
inline = local.microOS_install_commands
connection {
user = "root"