diff --git a/images/macos/templates/macOS-12.anka.pkr.hcl b/images/macos/templates/macOS-12.anka.pkr.hcl index 8c0b77bce..eb1fff11b 100644 --- a/images/macos/templates/macOS-12.anka.pkr.hcl +++ b/images/macos/templates/macOS-12.anka.pkr.hcl @@ -53,11 +53,6 @@ variable "vm_password" { sensitive = true } -variable "vm_key_file" { - type = string - default = "" -} - variable "github_api_pat" { type = string default = "" @@ -101,7 +96,7 @@ source "null" "template" { ssh_host = "${var.source_vm_name}" ssh_port = "${var.source_vm_port}" ssh_username = "${var.vm_username}" - ssh_private_key_file = "${var.vm_key_file}" + ssh_password = "${var.vm_password}" ssh_proxy_host = "${var.socks_proxy}" } diff --git a/images/macos/templates/macOS-13.anka.pkr.hcl b/images/macos/templates/macOS-13.anka.pkr.hcl index fc02bcddb..7d003d3ec 100644 --- a/images/macos/templates/macOS-13.anka.pkr.hcl +++ b/images/macos/templates/macOS-13.anka.pkr.hcl @@ -53,11 +53,6 @@ variable "vm_password" { sensitive = true } -variable "vm_key_file" { - type = string - default = "" -} - variable "github_api_pat" { type = string default = "" @@ -101,7 +96,7 @@ source "null" "template" { ssh_host = "${var.source_vm_name}" ssh_port = "${var.source_vm_port}" ssh_username = "${var.vm_username}" - ssh_private_key_file = "${var.vm_key_file}" + ssh_password = "${var.vm_password}" ssh_proxy_host = "${var.socks_proxy}" } diff --git a/images/macos/templates/macOS-13.arm64.anka.pkr.hcl b/images/macos/templates/macOS-13.arm64.anka.pkr.hcl index c59aa823a..abfd0996f 100644 --- a/images/macos/templates/macOS-13.arm64.anka.pkr.hcl +++ b/images/macos/templates/macOS-13.arm64.anka.pkr.hcl @@ -53,11 +53,6 @@ variable "vm_password" { sensitive = true } -variable "vm_key_file" { - type = string - default = "" -} - variable "github_api_pat" { type = string default = "" @@ -102,7 +97,7 @@ source "null" "template" { ssh_host = "${var.source_vm_name}" ssh_port = "${var.source_vm_port}" ssh_username = "${var.vm_username}" - ssh_private_key_file = "${var.vm_key_file}" + ssh_password = "${var.vm_password}" ssh_proxy_host = "${var.socks_proxy}" } diff --git a/images/macos/templates/macOS-14.anka.pkr.hcl b/images/macos/templates/macOS-14.anka.pkr.hcl index 657ecd90b..1dc266035 100644 --- a/images/macos/templates/macOS-14.anka.pkr.hcl +++ b/images/macos/templates/macOS-14.anka.pkr.hcl @@ -53,11 +53,6 @@ variable "vm_password" { sensitive = true } -variable "vm_key_file" { - type = string - default = "" -} - variable "github_api_pat" { type = string default = "" @@ -101,7 +96,7 @@ source "null" "template" { ssh_host = "${var.source_vm_name}" ssh_port = "${var.source_vm_port}" ssh_username = "${var.vm_username}" - ssh_private_key_file = "${var.vm_key_file}" + ssh_password = "${var.vm_password}" ssh_proxy_host = "${var.socks_proxy}" } diff --git a/images/macos/templates/macOS-14.arm64.anka.pkr.hcl b/images/macos/templates/macOS-14.arm64.anka.pkr.hcl index cd2a70e75..54414268c 100644 --- a/images/macos/templates/macOS-14.arm64.anka.pkr.hcl +++ b/images/macos/templates/macOS-14.arm64.anka.pkr.hcl @@ -48,11 +48,6 @@ variable "vm_username" { sensitive = true } -variable "vm_password" { - type = string - sensitive = true -} - variable "vm_key_file" { type = string default = "" @@ -102,7 +97,7 @@ source "null" "template" { ssh_host = "${var.source_vm_name}" ssh_port = "${var.source_vm_port}" ssh_username = "${var.vm_username}" - ssh_private_key_file = "${var.vm_key_file}" + ssh_password = "${var.vm_password}" ssh_proxy_host = "${var.socks_proxy}" }