Skip to content

Commit e1b4516

Browse files
authored
Merge pull request #1886 from su-mangale/fix-nutanix-ansible-scp-args
nutanix: pass ansible scp extra args to provisioner
2 parents 18da4f4 + 98dfe0e commit e1b4516

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

images/capi/packer/nutanix/packer-windows.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
"nutanix_port": "{{env `NUTANIX_PORT`}}",
162162
"nutanix_subnet_name": "{{env `NUTANIX_SUBNET_NAME`}}",
163163
"nutanix_username": "{{env `NUTANIX_USERNAME`}}",
164-
"scp_extra_vars": "",
164+
"scp_extra_vars": "{{user `ansible_scp_extra_args`}}",
165165
"vm_force_delete": "false",
166166
"windows_admin_password": "{{env `WINDOWS_ADMIN_PASSWORD`}}"
167167
}

images/capi/packer/nutanix/packer.json.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
"nutanix_subnet_name": "{{env `NUTANIX_SUBNET_NAME`}}",
156156
"nutanix_username": "{{env `NUTANIX_USERNAME`}}",
157157
"python_path": "",
158-
"scp_extra_vars": "",
158+
"scp_extra_vars": "{{user `ansible_scp_extra_args`}}",
159159
"source_image_delete": "false",
160160
"source_image_force": "false",
161161
"ssh_password": "$SSH_PASSWORD",

0 commit comments

Comments
 (0)