feat: provision mustafar
This commit is contained in:
parent
ce1583fde5
commit
a32d33b23a
4 changed files with 21 additions and 1 deletions
|
@ -3,7 +3,6 @@ locals {
|
||||||
|
|
||||||
nodes = {
|
nodes = {
|
||||||
for k, v in var.nodes : k => merge(v, {
|
for k, v in var.nodes : k => merge(v, {
|
||||||
id = 800 + index(keys(var.nodes), k)
|
|
||||||
domain = local.domain
|
domain = local.domain
|
||||||
meta = {
|
meta = {
|
||||||
name = v.host
|
name = v.host
|
||||||
|
|
|
@ -53,5 +53,11 @@ provider "proxmox" {
|
||||||
address = "nevaroo.system.tjo.cloud"
|
address = "nevaroo.system.tjo.cloud"
|
||||||
port = 22
|
port = 22
|
||||||
}
|
}
|
||||||
|
|
||||||
|
node {
|
||||||
|
name = "mustafar"
|
||||||
|
address = "mustafar.system.tjo.cloud"
|
||||||
|
port = 22
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
nodes = {
|
nodes = {
|
||||||
batuu = {
|
batuu = {
|
||||||
|
id = 800
|
||||||
host = "batuu"
|
host = "batuu"
|
||||||
iso_storage = "local"
|
iso_storage = "local"
|
||||||
boot_storage = "local-nvme"
|
boot_storage = "local-nvme"
|
||||||
|
@ -10,6 +11,7 @@ nodes = {
|
||||||
ipv6_gateway = "fd74:6a6f:0:1000::1"
|
ipv6_gateway = "fd74:6a6f:0:1000::1"
|
||||||
}
|
}
|
||||||
jakku = {
|
jakku = {
|
||||||
|
id = 801
|
||||||
host = "jakku"
|
host = "jakku"
|
||||||
iso_storage = "local"
|
iso_storage = "local"
|
||||||
boot_storage = "local-nvme"
|
boot_storage = "local-nvme"
|
||||||
|
@ -20,6 +22,7 @@ nodes = {
|
||||||
ipv6_gateway = "fd74:6a6f:0:2000::1"
|
ipv6_gateway = "fd74:6a6f:0:2000::1"
|
||||||
}
|
}
|
||||||
nevaroo = {
|
nevaroo = {
|
||||||
|
id = 802
|
||||||
host = "nevaroo"
|
host = "nevaroo"
|
||||||
iso_storage = "local"
|
iso_storage = "local"
|
||||||
boot_storage = "local"
|
boot_storage = "local"
|
||||||
|
@ -29,6 +32,17 @@ nodes = {
|
||||||
ipv6_address = "fd74:6a6f:0:3010::1/64"
|
ipv6_address = "fd74:6a6f:0:3010::1/64"
|
||||||
ipv6_gateway = "fd74:6a6f:0:3000::1"
|
ipv6_gateway = "fd74:6a6f:0:3000::1"
|
||||||
}
|
}
|
||||||
|
mustafar = {
|
||||||
|
id = 803
|
||||||
|
host = "mustafar"
|
||||||
|
iso_storage = "local"
|
||||||
|
boot_storage = "local"
|
||||||
|
|
||||||
|
ipv4_address = "10.0.64.10/20"
|
||||||
|
ipv4_gateway = "10.0.64.1"
|
||||||
|
ipv6_address = "fd74:6a6f:0:4010::1/64"
|
||||||
|
ipv6_gateway = "fd74:6a6f:0:4000::1"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ssh_keys = [
|
ssh_keys = [
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
variable "nodes" {
|
variable "nodes" {
|
||||||
type = map(object({
|
type = map(object({
|
||||||
|
id = number
|
||||||
host = string
|
host = string
|
||||||
|
|
||||||
ipv4_address = string
|
ipv4_address = string
|
||||||
|
|
Loading…
Reference in a new issue