Remove default values from Anka packer template (#4346)
This commit is contained in:
@@ -1,26 +1,43 @@
|
|||||||
variable "source_vm_name" {
|
variable "source_vm_name" {
|
||||||
type = string
|
type = string
|
||||||
default = "clean_macos_11_300gb"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "source_vm_tag" {
|
variable "source_vm_tag" {
|
||||||
type = string
|
type = string
|
||||||
default = "bigsur_300gb"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vm_name" {
|
variable "build_id" {
|
||||||
type = string
|
type = string
|
||||||
default = "macos-11"
|
}
|
||||||
|
|
||||||
|
variable "vm_username" {
|
||||||
|
type = string
|
||||||
|
sensitive = true
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "vm_password" {
|
||||||
|
type = string
|
||||||
|
sensitive = true
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "xcode_install_user" {
|
||||||
|
type = string
|
||||||
|
sensitive = true
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "xcode_install_password" {
|
||||||
|
type = string
|
||||||
|
sensitive = true
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "vcpu_count" {
|
variable "vcpu_count" {
|
||||||
type = string
|
type = string
|
||||||
default = "4"
|
default = "5"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "ram_size" {
|
variable "ram_size" {
|
||||||
type = string
|
type = string
|
||||||
default = "6G"
|
default = "12G"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "image_os" {
|
variable "image_os" {
|
||||||
@@ -28,14 +45,8 @@ variable "image_os" {
|
|||||||
default = "macos11"
|
default = "macos11"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "build_id" { type = string }
|
|
||||||
variable "vm_username" { type = string }
|
|
||||||
variable "vm_password" { type = string }
|
|
||||||
variable "xcode_install_user" { type = string }
|
|
||||||
variable "xcode_install_password" { type = string }
|
|
||||||
|
|
||||||
source "veertu-anka-vm-clone" "template" {
|
source "veertu-anka-vm-clone" "template" {
|
||||||
vm_name = "${var.vm_name}"
|
vm_name = "${var.build_id}"
|
||||||
source_vm_name = "${var.source_vm_name}"
|
source_vm_name = "${var.source_vm_name}"
|
||||||
source_vm_tag = "${var.source_vm_tag}"
|
source_vm_tag = "${var.source_vm_tag}"
|
||||||
vcpu_count = "${var.vcpu_count}"
|
vcpu_count = "${var.vcpu_count}"
|
||||||
|
|||||||
Reference in New Issue
Block a user