chore: made default network autostart

This commit is contained in:
ITQ
2025-07-05 21:30:26 +03:00
parent 65bfde65fb
commit f04f86cc62
+1 -2
View File
@@ -35,7 +35,7 @@ resource "libvirt_network" "default" {
mode = "nat" mode = "nat"
addresses = [local.network_cidr] addresses = [local.network_cidr]
mtu = local.mtu mtu = local.mtu
autostart = false autostart = true
dns { dns {
local_only = false local_only = false
@@ -73,7 +73,6 @@ resource "libvirt_volume" "server_image" {
data "template_file" "client_user_data" { data "template_file" "client_user_data" {
template = file("${path.module}/configs/cloud-init/client.yaml.tpl") template = file("${path.module}/configs/cloud-init/client.yaml.tpl")
vars = { vars = {
run_benchmarks_script = base64encode(file("${path.module}/../scripts/run_benchmarks"))
hosts_file = base64encode(file("${path.module}/configs/hosts")) hosts_file = base64encode(file("${path.module}/configs/hosts"))
} }
} }