Skip to content

Commit

Permalink
Uyuni BV: Add entries for private network
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Gedon <[email protected]>
  • Loading branch information
nodeg committed Apr 4, 2024
1 parent 6b93375 commit 26e02de
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
21 changes: 21 additions & 0 deletions terracumber_config/tf_files/Uyuni-Master-build-validation-NUE.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1188,8 +1188,11 @@ module "sles12sp5-terminal" {
manufacturer = "Supermicro"
product = "X9DR3-F"
}
private_ip = 5
private_name = "sle12sp5terminal"
}


module "sles15sp4-buildhost" {
source = "./modules/build_host"
base_configuration = module.base_core.configuration
Expand Down Expand Up @@ -1220,6 +1223,24 @@ module "sles15sp4-terminal" {
manufacturer = "HP"
product = "ProLiant DL360 Gen9"
}
private_ip = 6
private_name = "sle15sp4terminal"
}

module "dhcp-dns" {
source = "./modules/dhcp_dns"
base_configuration = module.base_core.configuration
name = "dhcp-dns"
image = "opensuse155o"
private_hosts = [
module.sles12sp5-terminal.configuration,
module.sles15sp4-terminal.configuration
]
hypervisor = {
host = "suma-06.mgr.suse.de"
user = "root"
private_key = file("~/.ssh/id_rsa")
}
}

module "monitoring-server" {
Expand Down
20 changes: 20 additions & 0 deletions terracumber_config/tf_files/Uyuni-Master-build-validation-PRV.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1480,6 +1480,8 @@ module "sles12sp5-terminal" {
manufacturer = "Supermicro"
product = "X9DR3-F"
}
private_ip = 5
private_name = "sle12sp5terminal"
}

module "sles15sp4-buildhost" {
Expand Down Expand Up @@ -1518,6 +1520,24 @@ module "sles15sp4-terminal" {
manufacturer = "HP"
product = "ProLiant DL360 Gen9"
}
private_ip = 6
private_name = "sle15sp4terminal"
}

module "dhcp-dns" {
source = "./modules/dhcp_dns"
base_configuration = module.base_retail.configuration
name = "dhcp-dns"
image = "opensuse155o"
private_hosts = [
module.sles12sp5-terminal.configuration,
module.sles15sp4-terminal.configuration
]
hypervisor = {
host = "terminus.mgr.prv.suse.net"
user = "root"
private_key = file("~/.ssh/id_rsa")
}
}

module "monitoring-server" {
Expand Down

0 comments on commit 26e02de

Please sign in to comment.