You've already forked net-research
chore: made default network autostart
This commit is contained in:
+1
-2
@@ -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"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user