2020-08-10 23:05:35 +00:00
|
|
|
variable "ip" {
|
|
|
|
type = string
|
|
|
|
default = "10.17.3.35/"
|
|
|
|
description = "fixed ip address for compute"
|
|
|
|
}
|
|
|
|
|
2021-01-23 20:45:22 +00:00
|
|
|
variable "number_domain" {
|
2020-08-10 23:05:35 +00:00
|
|
|
type = string
|
2021-01-23 20:45:22 +00:00
|
|
|
default = "3"
|
|
|
|
description = "number of domain"
|
2020-08-10 23:05:35 +00:00
|
|
|
}
|
|
|
|
|
2021-01-23 20:45:22 +00:00
|
|
|
variable "hostname" {
|
2020-08-10 23:05:35 +00:00
|
|
|
type = string
|
2021-01-23 20:45:22 +00:00
|
|
|
default = "compute"
|
|
|
|
description = "compute hostname"
|
2020-08-10 23:05:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "dns_address" {
|
|
|
|
type = string
|
|
|
|
default = "100.64.0.17"
|
|
|
|
description = "dns ip address"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "pool_1" {
|
|
|
|
type = string
|
|
|
|
default = "pool_1"
|
|
|
|
description = "already created pool name, set with variable because libvirt provider dont' wotk with data resource"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "debian_buster_qcow2" {
|
|
|
|
type = string
|
2021-01-23 20:45:22 +00:00
|
|
|
default = "debian-10.7.0-with-docker.qcow2"
|
2020-08-10 23:05:35 +00:00
|
|
|
description = "already created debian vol, set with variable because libvirt provider dont' wotk with data resource"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "centos7_qcow2" {
|
|
|
|
type = string
|
|
|
|
default = "centos7.qcow2"
|
|
|
|
description = "already created centos vol, set with variable because libvirt provider dont' wotk with data resource"
|
|
|
|
}
|