Skip to content

Commit

Permalink
feat: move the common variables into a separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
UlisesGascon committed Aug 31, 2024
1 parent 90f8acb commit 5abab3d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 60 deletions.
30 changes: 0 additions & 30 deletions orka/templates/macos-13-arm-test.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1,33 +1,3 @@
variable "orka_endpoint" {
type = string
default = ""
}

variable "orka_auth_token" {
type = string
default = ""
}

variable "ssh_default_username" {
type = string
default = ""
}

variable "ssh_default_password" {
type = string
default = ""
}

variable "ssh_test_public_key" {
type = string
default = ""
}

variable "ssh_test_password" {
type = string
default = ""
}

packer {
required_plugins {
macstadium-orka = {
Expand Down
30 changes: 0 additions & 30 deletions orka/templates/macos-13-intel-test.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1,33 +1,3 @@
variable "orka_endpoint" {
type = string
default = ""
}

variable "orka_auth_token" {
type = string
default = ""
}

variable "ssh_default_username" {
type = string
default = ""
}

variable "ssh_default_password" {
type = string
default = ""
}

variable "ssh_test_public_key" {
type = string
default = ""
}

variable "ssh_test_password" {
type = string
default = ""
}

packer {
required_plugins {
macstadium-orka = {
Expand Down
29 changes: 29 additions & 0 deletions orka/templates/variables.pkr.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
variable "orka_endpoint" {
type = string
default = ""
}

variable "orka_auth_token" {
type = string
default = ""
}

variable "ssh_default_username" {
type = string
default = ""
}

variable "ssh_default_password" {
type = string
default = ""
}

variable "ssh_test_public_key" {
type = string
default = ""
}

variable "ssh_test_password" {
type = string
default = ""
}

0 comments on commit 5abab3d

Please sign in to comment.