46 lines
1.3 KiB
HCL
46 lines
1.3 KiB
HCL
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"
|
|
}
|
|
],
|
|
|
|
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"
|
|
}
|
|
],
|
|
|
|
depends = [ opennebula_virtual_network.production.id ]
|
|
}, |