mirror of
https://github.com/actions/runner-images.git
synced 2025-12-10 11:07:02 +00:00
[Ubuntu] Add ssh_clear_authorized_keys to Packer template (#13136)
This commit is contained in:
@@ -22,6 +22,7 @@ source "azure-arm" "image" {
|
||||
os_disk_size_gb = local.image_properties.os_disk_size_gb
|
||||
os_type = var.image_os_type
|
||||
private_virtual_network_with_public_ip = var.private_virtual_network_with_public_ip
|
||||
ssh_clear_authorized_keys = var.ssh_clear_authorized_keys
|
||||
temp_resource_group_name = var.temp_resource_group_name
|
||||
virtual_network_name = var.virtual_network_name
|
||||
virtual_network_resource_group_name = var.virtual_network_resource_group_name
|
||||
|
||||
@@ -102,6 +102,10 @@ variable "source_image_version" {
|
||||
type = string
|
||||
default = "latest"
|
||||
}
|
||||
variable "ssh_clear_authorized_keys" {
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
variable "temp_resource_group_name" {
|
||||
type = string
|
||||
default = "${env("TEMP_RESOURCE_GROUP_NAME")}"
|
||||
|
||||
Reference in New Issue
Block a user