tweaked userdata

This commit is contained in:
Karim Naufal
2022-03-02 22:19:58 +01:00
parent 7f1cefe1e6
commit c5c8004928
3 changed files with 35 additions and 44 deletions

View File

@@ -75,16 +75,4 @@ data "template_cloudinit_config" "config" {
}
)
}
# Initialization script (runs at every reboot)
part {
content_type = "text/cloud-boothook"
filename = "boothook.sh"
content = templatefile(
"${path.module}/templates/boothook.sh.tpl",
{
hostname = var.name
}
)
}
}