Hello Alvaro, Thanks for replying, As you said i have checked my kick-start file with pxe boot, it is not working, i have to create a new kick-start file,
Yes, > press <esc> > press <tab> > type linux inst.ks=http://192.168.4.140/ks/centos7-ks.cfg > press <enter> This installation working properly ! Had one more query, *while adding the below config parameters,* *"disk_size": "40960",* *"vm_memory": "8192",* *"vm_vcpus": "1",* *i got API error !* [image: 1.png] *ErrorLog:* *2019/08/14 12:52:41 [INFO] Packer version: 1.4.12019/08/14 12:52:41 Packer Target OS/Arch: linux amd642019/08/14 12:52:41 Built with Go Version: go1.12.52019/08/14 12:52:41 Detected home directory from env var: /root2019/08/14 12:52:41 [DEBUG] Discovered plugin: xenserver-iso = /root/go-workspace/bin/packer-builder-xenserver-iso2019/08/14 12:52:41 [DEBUG] Discovered plugin: xenserver-xva = /root/go-workspace/bin/packer-builder-xenserver-xva2019/08/14 12:52:41 Using internal plugin for ncloud2019/08/14 12:52:41 Using internal plugin for hyperone2019/08/14 12:52:41 Using internal plugin for lxc2019/08/14 12:52:41 Using internal plugin for amazon-instance2019/08/14 12:52:41 Using internal plugin for hcloud2019/08/14 12:52:41 Using internal plugin for null2019/08/14 12:52:41 Using internal plugin for scaleway2019/08/14 12:52:41 Using internal plugin for tencentcloud-cvm2019/08/14 12:52:41 Using internal plugin for amazon-ebssurrogate2019/08/14 12:52:41 Using internal plugin for googlecompute2019/08/14 12:52:41 Using internal plugin for oracle-oci2019/08/14 12:52:41 Using internal plugin for qemu2019/08/14 12:52:41 Using internal plugin for virtualbox-iso2019/08/14 12:52:41 Using internal plugin for vmware-vmx2019/08/14 12:52:41 Using internal plugin for digitalocean2019/08/14 12:52:41 Using internal plugin for file2019/08/14 12:52:41 Using internal plugin for hyperv-vmcx2019/08/14 12:52:41 Using internal plugin for linode2019/08/14 12:52:41 Using internal plugin for lxd2019/08/14 12:52:41 Using internal plugin for openstack2019/08/14 12:52:41 Using internal plugin for parallels-iso2019/08/14 12:52:41 Using internal plugin for cloudstack2019/08/14 12:52:41 Using internal plugin for virtualbox-ovf2019/08/14 12:52:41 Using internal plugin for docker2019/08/14 12:52:41 Using internal plugin for oneandone2019/08/14 12:52:41 Using internal plugin for parallels-pvm2019/08/14 12:52:41 Using internal plugin for proxmox2019/08/14 12:52:41 Using internal plugin for triton2019/08/14 12:52:41 Using internal plugin for yandex2019/08/14 12:52:41 Using internal plugin for amazon-ebsvolume2019/08/14 12:52:41 Using internal plugin for amazon-chroot2019/08/14 12:52:41 Using internal plugin for amazon-ebs2019/08/14 12:52:41 Using internal plugin for azure-arm2019/08/14 12:52:41 Using internal plugin for hyperv-iso2019/08/14 12:52:41 Using internal plugin for oracle-classic2019/08/14 12:52:41 Using internal plugin for profitbricks2019/08/14 12:52:41 Using internal plugin for vagrant2019/08/14 12:52:41 Using internal plugin for alicloud-ecs2019/08/14 12:52:41 Using internal plugin for vmware-iso2019/08/14 12:52:41 Using internal plugin for salt-masterless2019/08/14 12:52:41 Using internal plugin for shell-local2019/08/14 12:52:41 Using internal plugin for windows-restart2019/08/14 12:52:41 Using internal plugin for ansible2019/08/14 12:52:41 Using internal plugin for ansible-local2019/08/14 12:52:41 Using internal plugin for converge2019/08/14 12:52:41 Using internal plugin for chef-client2019/08/14 12:52:41 Using internal plugin for inspec2019/08/14 12:52:41 Using internal plugin for shell2019/08/14 12:52:41 Using internal plugin for sleep2019/08/14 12:52:41 Using internal plugin for breakpoint2019/08/14 12:52:41 Using internal plugin for chef-solo2019/08/14 12:52:41 Using internal plugin for powershell2019/08/14 12:52:41 Using internal plugin for windows-shell2019/08/14 12:52:41 Using internal plugin for file2019/08/14 12:52:41 Using internal plugin for puppet-masterless2019/08/14 12:52:41 Using internal plugin for puppet-server2019/08/14 12:52:41 Using internal plugin for shell-local2019/08/14 12:52:41 Using internal plugin for artifice2019/08/14 12:52:41 Using internal plugin for compress2019/08/14 12:52:41 Using internal plugin for docker-save2019/08/14 12:52:41 Using internal plugin for googlecompute-export2019/08/14 12:52:41 Using internal plugin for docker-import2019/08/14 12:52:41 Using internal plugin for docker-tag2019/08/14 12:52:41 Using internal plugin for manifest2019/08/14 12:52:41 Using internal plugin for vagrant-cloud2019/08/14 12:52:41 Using internal plugin for amazon-import2019/08/14 12:52:41 Using internal plugin for checksum2019/08/14 12:52:41 Using internal plugin for digitalocean-import2019/08/14 12:52:41 Using internal plugin for vsphere-template2019/08/14 12:52:41 Using internal plugin for vsphere2019/08/14 12:52:41 Using internal plugin for alicloud-import2019/08/14 12:52:41 Using internal plugin for docker-push2019/08/14 12:52:41 Using internal plugin for googlecompute-import2019/08/14 12:52:41 Using internal plugin for vagrant2019/08/14 12:52:41 Detected home directory from env var: /root2019/08/14 12:52:41 Attempting to open config file: /root/.packerconfig2019/08/14 12:52:41 [WARN] Config file doesn't exist: /root/.packerconfig2019/08/14 12:52:41 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[alicloud-ecs:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs amazon-chroot:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot amazon-ebs:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs amazon-ebssurrogate:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate amazon-ebsvolume:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume amazon-instance:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance azure-arm:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm cloudstack:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack digitalocean:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean docker:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker file:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file googlecompute:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute hcloud:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hcloud hyperone:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperone hyperv-iso:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso hyperv-vmcx:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx linode:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-linode lxc:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc lxd:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd ncloud:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud null:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null oneandone:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone openstack:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack oracle-classic:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic oracle-oci:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci parallels-iso:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso parallels-pvm:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm profitbricks:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks proxmox:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-proxmox qemu:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu scaleway:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway tencentcloud-cvm:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-tencentcloud-cvm triton:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton vagrant:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vagrant virtualbox-iso:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso virtualbox-ovf:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf vmware-iso:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso vmware-vmx:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx xenserver-iso:/root/go-workspace/bin/packer-builder-xenserver-iso xenserver-xva:/root/go-workspace/bin/packer-builder-xenserver-xva yandex:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-yandex] PostProcessors:map[alicloud-import:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import amazon-import:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import artifice:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice checksum:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum compress:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress digitalocean-import:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-digitalocean-import docker-import:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-push:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push docker-save:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-tag:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag googlecompute-export:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export googlecompute-import:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-import manifest:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest shell-local:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vagrant:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant vagrant-cloud:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud vsphere:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere vsphere-template:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template] Provisioners:map[ansible:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible ansible-local:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local breakpoint:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-breakpoint chef-client:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client chef-solo:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo converge:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge file:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file inspec:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-inspec powershell:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-masterless:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless puppet-server:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server salt-masterless:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless shell:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local sleep:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-sleep windows-restart:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart windows-shell:/usr/local/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell]}2019/08/14 12:52:41 Detected home directory from env var: /root2019/08/14 12:52:41 Setting cache directory: /root/go-workspace/bin/packer_cache2019/08/14 12:52:41 Loading builder: xenserver-iso2019/08/14 12:52:41 Creating plugin client for path: /root/go-workspace/bin/packer-builder-xenserver-iso2019/08/14 12:52:41 Starting plugin: /root/go-workspace/bin/packer-builder-xenserver-iso []string{"/root/go-workspace/bin/packer-builder-xenserver-iso"}2019/08/14 12:52:41 Waiting for RPC address for: /root/go-workspace/bin/packer-builder-xenserver-iso2019/08/14 12:52:41 Detected home directory from env var: /root2019/08/14 12:52:41 packer-builder-xenserver-iso: 2019/08/14 12:52:41 Plugin minimum port: 100002019/08/14 12:52:41 packer-builder-xenserver-iso: 2019/08/14 12:52:41 Plugin maximum port: 250002019/08/14 12:52:41 packer-builder-xenserver-iso: 2019/08/14 12:52:41 Plugin address: unix /tmp/packer-plugin9511633332019/08/14 12:52:41 packer-builder-xenserver-iso: 2019/08/14 12:52:41 Waiting for connection...2019/08/14 12:52:41 packer-builder-xenserver-iso: 2019/08/14 12:52:41 Serving a plugin connection...2019/08/14 12:52:41 ui: [1;32mxenserver-iso output will be in this color. [0m2019/08/14 12:52:41 ui: 2019/08/14 12:52:41 Build debug mode: false2019/08/14 12:52:41 Force build: false2019/08/14 12:52:41 On error: 2019/08/14 12:52:41 Preparing build: xenserver-iso2019/08/14 12:52:41 Waiting on builds to complete...2019/08/14 12:52:41 Starting build run: xenserver-iso2019/08/14 12:52:41 Running builder: xenserver-iso2019/08/14 12:52:41 [INFO] (telemetry) Starting builder xenserver-iso2019/08/14 12:52:41 ui: [1;32m==> xenserver-iso: XAPI client session established [0m2019/08/14 12:52:41 ui: [1;32m==> xenserver-iso: Starting HTTP server on port 8000 [0m2019/08/14 12:52:41 packer-builder-xenserver-iso: 2019/08/14 12:52:41 No floppy files specified. Floppy disk will not be made.2019/08/14 12:52:41 packer-builder-xenserver-iso: 2019/08/14 12:52:41 Looking for an available port between 8000 and 90002019/08/14 12:52:41 packer-builder-xenserver-iso: 2019/08/14 12:52:41 Trying port: 80002019/08/14 12:52:41 ui: [1;32m==> xenserver-iso: Step: Create Instance [0m2019/08/14 12:52:42 ui: [1;32m==> xenserver-iso: Created instance '3cc8ed90-80d6-db92-9356-225e12a7fff8' [0m2019/08/14 12:52:42 packer-builder-xenserver-iso: 2019/08/14 12:52:42 Skipping attach of 'floppy_vdi_uuid'2019/08/14 12:52:42 packer-builder-xenserver-iso: 2019/08/14 12:52:42 Skipping attach of 'iso_vdi_uuid'2019/08/14 12:52:42 packer-builder-xenserver-iso: 2019/08/14 12:52:42 Attached VDI '35cd0708-d306-457f-ae1f-85c4092f6cd4'2019/08/14 12:52:42 ui: [1;32m==> xenserver-iso: Step: Start VM Paused [0m2019/08/14 12:52:42 packer-builder-xenserver-iso: 2019/08/14 12:52:42 Attached VDI '4dae87e5-7af1-4549-8d16-885216601a6c'2019/08/14 12:52:42 ui error: [1;31m==> xenserver-iso: Unable to start VM with UUID '3cc8ed90-80d6-db92-9356-225e12a7fff8': API Error: [NO_HOSTS_AVAILABLE] [0m2019/08/14 12:52:42 packer-builder-xenserver-iso: time="2019-08-14T12:52:42+05:30" level=error msg="Encountered an API error: Failure [NO_HOSTS_AVAILABLE]"2019/08/14 12:52:42 packer-builder-xenserver-iso: time="2019-08-14T12:52:42+05:30" level=error msg="Encountered an API error: Failure [VM_BAD_POWER_STATE OpaqueRef:7e3a5521-a210-a8f6-819a-aea7f83af698 paused, suspended, running halted]"2019/08/14 12:52:42 packer-builder-xenserver-iso: 2019/08/14 12:52:42 Unable to force shutdown VM '3cc8ed90-80d6-db92-9356-225e12a7fff8': API Error: [VM_BAD_POWER_STATE OpaqueRef:7e3a5521-a210-a8f6-819a-aea7f83af698 paused, suspended, running halted]2019/08/14 12:52:42 packer-builder-xenserver-iso: time="2019-08-14T12:52:42+05:30" level=error msg="Encountered an API error: Failure [VBD_NOT_UNPLUGGABLE OpaqueRef:1f42eda0-63b1-3412-3be8-e02602725b37]"2019/08/14 12:52:42 packer-builder-xenserver-iso: 2019/08/14 12:52:42 Detached VDI '4dae87e5-7af1-4549-8d16-885216601a6c'2019/08/14 12:52:42 packer-builder-xenserver-iso: time="2019-08-14T12:52:42+05:30" level=error msg="Encountered an API error: Failure [VBD_NOT_UNPLUGGABLE OpaqueRef:b38b9dc0-6f2b-9509-b5a5-7b93b9b74f7c]"2019/08/14 12:52:42 ui: [1;32m==> xenserver-iso: Destroying VM [0m2019/08/14 12:52:42 packer-builder-xenserver-iso: 2019/08/14 12:52:42 Detached VDI '35cd0708-d306-457f-ae1f-85c4092f6cd4'2019/08/14 12:52:42 packer-builder-xenserver-iso: time="2019-08-14T12:52:42+05:30" level=error msg="Encountered an API error: Failure [VM_BAD_POWER_STATE OpaqueRef:7e3a5521-a210-a8f6-819a-aea7f83af698 paused, suspended, running halted]"2019/08/14 12:52:43 ui: [1;32m==> xenserver-iso: Destroying VDI [0m2019/08/14 12:52:43 ui: [1;32m==> xenserver-iso: Deleting output directory... [0m2019/08/14 12:52:43 [INFO] (telemetry) ending xenserver-iso2019/08/14 12:52:43 ui error: [1;31mBuild 'xenserver-iso' errored: Build was halted. [0m2019/08/14 12:52:43 machine readable: error-count []string{"1"}2019/08/14 12:52:43 ui error: ==> Some builds didn't complete successfully and had errors:2019/08/14 12:52:43 machine readable: xenserver-iso,error []string{"Build was halted."}2019/08/14 12:52:43 ui error: --> xenserver-iso: Build was halted.2019/08/14 12:52:43 ui: ==> Builds finished but no artifacts were created.2019/08/14 12:52:43 [INFO] (telemetry) Finalizing.2019/08/14 12:52:45 [WARN] (telemetry) Error finalizing report. This is safe to ignore. Post https://checkpoint-api.hashicorp.com/v1/telemetry/packer: context deadline exceeded2019/08/14 12:52:45 waiting for all plugin processes to complete...2019/08/14 12:52:45 /root/go-workspace/bin/packer-builder-xenserver-iso: plugin process exited* I believe the above config parameter no longer available, tell me if i'm anything wrong, Thanks, Antonynixson -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/2e9ba2b7-4e28-44b2-b077-0b04b5107a9f%40googlegroups.com.