Skip to content

Commit

Permalink
Merge pull request #1149 from nutanix-cloud-native/nutanix-image-export
Browse files Browse the repository at this point in the history
Nutanix - add image_export option
  • Loading branch information
k8s-ci-robot authored May 5, 2023
2 parents ef59b88 + f27e9fc commit 0fe9071
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/book/src/capi/providers/nutanix.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This file must have the following format:
```
{
"force_deregister": "true",
"image_export": "false",
"nutanix_cluster_name": "Name of PE Cluster",
"nutanix_endpoint": "Prism Central IP / FQDN",
"nutanix_insecure": "false",
Expand Down
2 changes: 1 addition & 1 deletion images/capi/packer/nutanix/config.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
packer {
required_plugins {
nutanix = {
version = ">= 0.3.1"
version = ">= 0.7.0"
source = "github.com/nutanix-cloud-native/nutanix"
}
}
Expand Down
1 change: 1 addition & 0 deletions images/capi/packer/nutanix/nutanix.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"force_deregister": "true",
"image_export": "false",
"nutanix_cluster_name": "",
"nutanix_endpoint": "",
"nutanix_insecure": "false",
Expand Down
2 changes: 2 additions & 0 deletions images/capi/packer/nutanix/packer-windows.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"communicator": "winrm",
"force_deregister": "{{user `force_deregister`}}",
"image_description": "kube image-builder packer",
"image_export": "{{user `image_export`}}",
"image_name": "{{user `image_name`}}",
"memory_mb": "{{user `memory`}}",
"nutanix_endpoint": "{{user `nutanix_endpoint`}}",
Expand Down Expand Up @@ -130,6 +131,7 @@
"crictl_version": null,
"disk_size_gb": "40",
"existing_ansible_ssh_args": "{{env `ANSIBLE_SSH_ARGS`}}",
"image_export": "false",
"image_name": "{{user `build_name`}}-kube-{{user `kubernetes_semver`}}",
"kubernetes_base_url": "https://kubernetesreleases.blob.core.windows.net/kubernetes/{{user `kubernetes_semver`}}/binaries/node/windows/{{user `kubernetes_goarch`}}",
"kubernetes_container_registry": null,
Expand Down
2 changes: 2 additions & 0 deletions images/capi/packer/nutanix/packer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"cpu": "{{user `cpus`}}",
"force_deregister": "{{user `force_deregister`}}",
"image_description": "kube image-builder packer",
"image_export": "{{user `image_export`}}",
"image_name": "{{user `image_name`}}",
"memory_mb": "{{user `memory`}}",
"nutanix_endpoint": "{{user `nutanix_endpoint`}}",
Expand Down Expand Up @@ -114,6 +115,7 @@
"crictl_version": null,
"disk_size_gb": "10",
"existing_ansible_ssh_args": "{{env `ANSIBLE_SSH_ARGS`}}",
"image_export": "false",
"image_name": "{{user `build_name`}}-kube-{{user `kubernetes_semver`}}",
"kubernetes_cni_deb_version": null,
"kubernetes_cni_http_source": null,
Expand Down

0 comments on commit 0fe9071

Please sign in to comment.