2021-03-22 21:04:38 +01:00
|
|
|
virtual_machines = {
|
|
|
|
amon = {
|
|
|
|
fqdn = "amon.fabrica.local",
|
|
|
|
domain = "fabrica.local",
|
|
|
|
create_dns_a_record = "no",
|
|
|
|
cpu = 0.4,
|
|
|
|
vcpu = 4,
|
|
|
|
memory = 4096,
|
|
|
|
network_interfaces = [
|
|
|
|
{ network_name = "internet", ip = "192.168.1.3" },
|
|
|
|
{ network_name = "office", ip = "192.168.10.254" }
|
|
|
|
],
|
|
|
|
|
|
|
|
labels = "Production, Amon, Infra, Backup, EOLE"
|
|
|
|
|
|
|
|
disks = {
|
|
|
|
system = {
|
|
|
|
name = "prod-amon-static",
|
|
|
|
source = "http://localhost/fabrica/infra/production/amon.fabrica.local/system/amon.fabrica.local"
|
|
|
|
}
|
2021-03-22 21:05:34 +01:00
|
|
|
],
|
2021-03-22 21:04:38 +01:00
|
|
|
|
|
|
|
depends = [ opennebula_virtual_network.production.id ]
|
|
|
|
},
|
|
|
|
scribe = {
|
|
|
|
fqdn = "scribe.fabrica.local",
|
|
|
|
domain = "fabrica.local",
|
|
|
|
create_dns_a_record = "no",
|
|
|
|
cpu = 0.4,
|
|
|
|
vcpu = 4,
|
|
|
|
memory = 4096,
|
|
|
|
network_interfaces = [
|
|
|
|
{ network_name = "office", ip = "192.168.10.200" }
|
|
|
|
],
|
|
|
|
|
|
|
|
labels = "Production, Scribe, Infra, Backup, EOLE"
|
|
|
|
|
|
|
|
disks = {
|
|
|
|
system = {
|
|
|
|
name = "prod-scribe-static",
|
|
|
|
source = "http://localhost/fabrica/infra/production/scribe.fabrica.local/system/scribe.fabrica.local"
|
|
|
|
}
|
2021-03-22 21:05:34 +01:00
|
|
|
],
|
2021-03-22 21:04:38 +01:00
|
|
|
|
|
|
|
depends = [ opennebula_virtual_network.production.id ]
|
|
|
|
},
|