diff --git a/openstack/variables.pkr.hcl b/openstack/variables.pkr.hcl index 454bdc5b295cc05225b13f45480c72776edfeb09..fe701f02787fdaf253ab327e457262a66ba9ce4a 100644 --- a/openstack/variables.pkr.hcl +++ b/openstack/variables.pkr.hcl @@ -25,12 +25,6 @@ variable "flavor" { description = "The name of the flavor to use" } -variable "ssh_username" { - type = string - default = "centos" - description = "The default username to use for SSH" -} - variable "floating_ip_network" { type = string description = "floating ip network to use with (temporary) ip assignmnet to a vm" @@ -46,3 +40,18 @@ variable "security_groups" { default = [] description = "A list of security groups to add - you should make sure ssh access is open to the machine" } +variable "ssh_username" { + type = string + default = "centos" + description = "The default username to use for SSH" +} + +variable "ssh_keypair_name" { + type = string + description = "SSH keypair to use from OS project" +} + +variable "ssh_private_key_file" { + type = string + description = "Private key file" +}