mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-06 18:17:26 +08:00
Configurable SSH port (#9660)
This commit is contained in:
@@ -24,6 +24,11 @@ variable "source_vm_name" {
|
|||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "source_vm_port" {
|
||||||
|
type = number
|
||||||
|
default = 22
|
||||||
|
}
|
||||||
|
|
||||||
variable "source_vm_tag" {
|
variable "source_vm_tag" {
|
||||||
type = string
|
type = string
|
||||||
default = ""
|
default = ""
|
||||||
@@ -89,8 +94,9 @@ source "veertu-anka-vm-clone" "template" {
|
|||||||
|
|
||||||
source "null" "template" {
|
source "null" "template" {
|
||||||
ssh_host = "${var.source_vm_name}"
|
ssh_host = "${var.source_vm_name}"
|
||||||
|
ssh_port = "${var.source_vm_port}"
|
||||||
ssh_username = "${var.vm_username}"
|
ssh_username = "${var.vm_username}"
|
||||||
ssh_password = "${var.vm_password}"
|
ssh_private_key_file = "${var.vm_password}"
|
||||||
ssh_proxy_host = "${var.socks_proxy}"
|
ssh_proxy_host = "${var.socks_proxy}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,11 @@ variable "source_vm_name" {
|
|||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "source_vm_port" {
|
||||||
|
type = number
|
||||||
|
default = 22
|
||||||
|
}
|
||||||
|
|
||||||
variable "source_vm_tag" {
|
variable "source_vm_tag" {
|
||||||
type = string
|
type = string
|
||||||
default = ""
|
default = ""
|
||||||
@@ -89,8 +94,9 @@ source "veertu-anka-vm-clone" "template" {
|
|||||||
|
|
||||||
source "null" "template" {
|
source "null" "template" {
|
||||||
ssh_host = "${var.source_vm_name}"
|
ssh_host = "${var.source_vm_name}"
|
||||||
|
ssh_port = "${var.source_vm_port}"
|
||||||
ssh_username = "${var.vm_username}"
|
ssh_username = "${var.vm_username}"
|
||||||
ssh_password = "${var.vm_password}"
|
ssh_private_key_file = "${var.vm_password}"
|
||||||
ssh_proxy_host = "${var.socks_proxy}"
|
ssh_proxy_host = "${var.socks_proxy}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,11 @@ variable "source_vm_name" {
|
|||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "source_vm_port" {
|
||||||
|
type = number
|
||||||
|
default = 22
|
||||||
|
}
|
||||||
|
|
||||||
variable "source_vm_tag" {
|
variable "source_vm_tag" {
|
||||||
type = string
|
type = string
|
||||||
default = ""
|
default = ""
|
||||||
@@ -90,8 +95,9 @@ source "veertu-anka-vm-clone" "template" {
|
|||||||
|
|
||||||
source "null" "template" {
|
source "null" "template" {
|
||||||
ssh_host = "${var.source_vm_name}"
|
ssh_host = "${var.source_vm_name}"
|
||||||
|
ssh_port = "${var.source_vm_port}"
|
||||||
ssh_username = "${var.vm_username}"
|
ssh_username = "${var.vm_username}"
|
||||||
ssh_password = "${var.vm_password}"
|
ssh_private_key_file = "${var.vm_password}"
|
||||||
ssh_proxy_host = "${var.socks_proxy}"
|
ssh_proxy_host = "${var.socks_proxy}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,11 @@ variable "source_vm_name" {
|
|||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "source_vm_port" {
|
||||||
|
type = number
|
||||||
|
default = 22
|
||||||
|
}
|
||||||
|
|
||||||
variable "source_vm_tag" {
|
variable "source_vm_tag" {
|
||||||
type = string
|
type = string
|
||||||
default = ""
|
default = ""
|
||||||
@@ -89,8 +94,9 @@ source "veertu-anka-vm-clone" "template" {
|
|||||||
|
|
||||||
source "null" "template" {
|
source "null" "template" {
|
||||||
ssh_host = "${var.source_vm_name}"
|
ssh_host = "${var.source_vm_name}"
|
||||||
|
ssh_port = "${var.source_vm_port}"
|
||||||
ssh_username = "${var.vm_username}"
|
ssh_username = "${var.vm_username}"
|
||||||
ssh_password = "${var.vm_password}"
|
ssh_private_key_file = "${var.vm_password}"
|
||||||
ssh_proxy_host = "${var.socks_proxy}"
|
ssh_proxy_host = "${var.socks_proxy}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,11 @@ variable "source_vm_name" {
|
|||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "source_vm_port" {
|
||||||
|
type = number
|
||||||
|
default = 22
|
||||||
|
}
|
||||||
|
|
||||||
variable "source_vm_tag" {
|
variable "source_vm_tag" {
|
||||||
type = string
|
type = string
|
||||||
default = ""
|
default = ""
|
||||||
@@ -90,8 +95,9 @@ source "veertu-anka-vm-clone" "template" {
|
|||||||
|
|
||||||
source "null" "template" {
|
source "null" "template" {
|
||||||
ssh_host = "${var.source_vm_name}"
|
ssh_host = "${var.source_vm_name}"
|
||||||
|
ssh_port = "${var.source_vm_port}"
|
||||||
ssh_username = "${var.vm_username}"
|
ssh_username = "${var.vm_username}"
|
||||||
ssh_password = "${var.vm_password}"
|
ssh_private_key_file = "${var.vm_password}"
|
||||||
ssh_proxy_host = "${var.socks_proxy}"
|
ssh_proxy_host = "${var.socks_proxy}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user