Hello Megan,

Thanks for replying, Yes i have set the environment variable PACKER_LOG=1, 
so that i can see the logs.

On Tuesday, August 13, 2019 at 3:08:16 PM UTC+5:30, Antony Nixson wrote:
>
> Hello Everyone,
>
> I'm using packer to create images for *XenServer*.
> I Have installed a packer builder for *Xenserver* (*Plugin*) available 
> at: https://github.com/xenserver/packer-builder-xenserver
>
> *Please find my packer code:*
>
> {
>   "builders": [
>     {
>       "boot_command": [
>         "<esc><tab> linux inst.ks=http://192.168.4.140/ks/centos7-ks.cfg 
> <enter>"
>       ],
>       "boot_wait": "15s",
>       "format": "vdi_vhd",
>       "iso_checksum": 
> "38d5d51d9d100fd73df031ffd6bd8b1297ce24660dc8c13a3b8b4534a4bd291c",
>       "iso_checksum_type": "sha256",
>       "iso_name": "CentOS-7-x86_64-Minimal-1810.iso",
>       "iso_sr": "NFS ISO library",
>       "output_directory": "CentOS-7-x86_64-xenserver-minimal",
>       "iso_url": "{{user 
> `mirror`}}/7.6.1810/isos/x86_64/CentOS-7-x86_64-Minimal-1810.iso",
>       "remote_host": "192.168.XXX.XXX",
>       "remote_password": "XXXXXX",
>       "remote_username": "root",
>       "script_url": "http://192.168.4.140/ks/";,
>       "http_directory": "/var/www/ks/",
>       "shutdown_command": "",
>       "sr_name": "Local storage",
>       "ssh_password": "XXXXX",
>       "ssh_username": "root",
>       "ssh_wait_timeout": "10000s",
>       "type": "xenserver-iso",
>       "vm_name": "packer-test-centos-7.6-x86_64",
>       "nfs_mount": ""
>     }
>   ],
>   "variables": {
>     "mirror": "http://www.mirrorservice.org/sites/mirror.centos.org";
>   }
> }
>
>
>
>
> *Packer build :*
>
>
>
>
> [image: 4_packer_build_command.png]
>
>
>
>
> *Launch a new server:*
>
>
>
>
> [image: 1_launch_server.png]
>
>
>
> *Console status 1:*
>
>
>
> [image: 2_console_Status.png]
>
>
>
>
> *Console status 2:*
>
>
>
> [image: 3_console_Status.png]
>
>
>
> *Console status 3 timeout:*
>
>
>
> [image: 5_timeout_issue_output.png]
>
>
>
> *When i interrupt the packer build:*
>
>
>
>
>
> [image: 6_After_interrupt.png]
>
>
> I don't know why the above issue is happening, Kindly look into my packer 
> code if i'm done anything wrong or if i missed something ? please let me 
> know 
>
> *Thanks in advance,*
> *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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/b84ac0fc-9e4e-4f0a-a818-d3bc2649bda3%40googlegroups.com.

Reply via email to