Skip to content
Snippets Groups Projects
Commit ee1f71e1 authored by Ryan Randles Jones's avatar Ryan Randles Jones
Browse files

created variables ohpc_user and host_id

parent 9354adaf
No related branches found
No related tags found
1 merge request!18Variable update branch
......@@ -2,6 +2,10 @@ variable "image" {
default = "CentOS-7-x86_64-GenericCloud-1905"
}
variable "ohpc_user" {
default = "centos"
}
variable "flavor" {
default = "m1.medium"
}
......@@ -24,6 +28,9 @@ variable "ssh_private_key" {
default = "~/.ssh/id_rsa"
}
variable "host_id" {
description = "format of host id. Adds the last three digits of floating ip to create the last part of the host ip"
default = ""164.111.161.%s", element(split(".", openstack_networking_floatingip_v2.ip_pool.address),3)"
variable "enable-dhcp" {
description = "whether dhcp in enabled. defualt is true"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment