diff --git a/docs/book/src/capi/providers/nutanix.md b/docs/book/src/capi/providers/nutanix.md index 34b845c878..fbb97f79ea 100644 --- a/docs/book/src/capi/providers/nutanix.md +++ b/docs/book/src/capi/providers/nutanix.md @@ -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", diff --git a/images/capi/packer/nutanix/config.pkr.hcl b/images/capi/packer/nutanix/config.pkr.hcl index cf940f9fb3..3f0d26dd70 100644 --- a/images/capi/packer/nutanix/config.pkr.hcl +++ b/images/capi/packer/nutanix/config.pkr.hcl @@ -1,7 +1,7 @@ packer { required_plugins { nutanix = { - version = ">= 0.3.1" + version = ">= 0.7.0" source = "github.com/nutanix-cloud-native/nutanix" } } diff --git a/images/capi/packer/nutanix/nutanix.json b/images/capi/packer/nutanix/nutanix.json index 89e0712ee1..ac854f25ea 100644 --- a/images/capi/packer/nutanix/nutanix.json +++ b/images/capi/packer/nutanix/nutanix.json @@ -1,5 +1,6 @@ { "force_deregister": "true", + "image_export": "false", "nutanix_cluster_name": "", "nutanix_endpoint": "", "nutanix_insecure": "false", diff --git a/images/capi/packer/nutanix/packer-windows.json b/images/capi/packer/nutanix/packer-windows.json index 655826095a..71e8eea3a3 100644 --- a/images/capi/packer/nutanix/packer-windows.json +++ b/images/capi/packer/nutanix/packer-windows.json @@ -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`}}", @@ -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, diff --git a/images/capi/packer/nutanix/packer.json b/images/capi/packer/nutanix/packer.json index a29194d8f5..80e296c69c 100644 --- a/images/capi/packer/nutanix/packer.json +++ b/images/capi/packer/nutanix/packer.json @@ -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`}}", @@ -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,