Hello Megan,

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

Thanks,



On Tuesday, August 13, 2019 at 9:45:44 PM UTC+5:30, Megan Marsh wrote:
>
> If you set the environment variable PACKER_LOG=1, you may get more details 
> about what's happening.
>
> On Tue, Aug 13, 2019 at 2:38 AM Antony Nixson <antony...@gmail.com 
> <javascript:>> 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 packe...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/packer-tool/9e0026de-4ba5-4dd5-a161-4fe68e859e8a%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/packer-tool/9e0026de-4ba5-4dd5-a161-4fe68e859e8a%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/15cb2972-d0d0-4611-b6da-6cc34da91bd1%40googlegroups.com.

Reply via email to