Fixed a potential bug coming from hardcoded interface names, now it should detect it automatically

This commit is contained in:
Karim Naufal
2021-09-25 15:12:37 +02:00
parent bb8afc8c30
commit d25acf5439
4 changed files with 15 additions and 7 deletions

View File

@@ -84,7 +84,7 @@ data "hcloud_image" "linux" {
}
data "template_file" "init_cfg" {
template = file("init.cfg")
template = file("${path.module}/init.cfg")
}
# Render a multi-part cloud-init config making use of the part