Hi Rickard, have you get chance to look into the behaivor that why ssh does not install on machine.
On Monday, 7 November 2016 12:32:25 UTC+5:30, dp wrote: > > Hi, > > as SSH is not configured on VM machine so it's not connecting through SSH. > > i think this is because of openssh.ps1 is not executing on VM > machinne(version windows 7) > > please assist how to proceed. > do i need to update JSON file. > > Thanks > Dhiraj > > On Thursday, 3 November 2016 17:56:23 UTC+5:30, Rickard von Essen wrote: >> >> Run with -on-error=ask, wait for ssh to timeout. Bring up the UI login >> open up a console and trouble shoot. Verify that network is ok, OpenSSH is >> running, that u/p vagrant/vagrant is correct. Test if you manually can ssh >> into the VM. >> >> On 3 November 2016 at 12:07, dp <[email protected]> wrote: >> >>> Hi getting error when executing below JSON file >>> >>> error; "Paralles-iso Timeout waiting for SSH" >>> >>> JSON file: >>> >>> { >>> "builders": [ >>> { >>> "type": "parallels-iso", >>> "iso_url": >>> "/Users/ldk-qa/Desktop/en_windows_7_enterprise_with_sp1_x64_dvd_u_677651.iso", >>> "iso_checksum_type": "md5", >>> "iso_checksum": "6467c3875955df4514395f0afcaaa62a", >>> "boot_wait": "2m", >>> "ssh_username": "vagrant", >>> "ssh_password": "vagrant", >>> "ssh_wait_timeout": "5m", >>> "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer >>> Shutdown\"", >>> "guest_os_type": "win-7", >>> "parallels_tools_flavor": "win", >>> "parallels_tools_mode": "disable", >>> >>> "prlctl": [ >>> ["set", "{{.Name}}", "--memsize", "1024"], >>> ["set", "{{.Name}}", "--cpus", "2"] >>> ], >>> "floppy_files": [ >>> "./packer-windows/answer_files/7/Autounattend.xml", >>> "./packer-windows/scripts/microsoft-updates.bat", >>> "./packer-windows/scripts/win-updates.ps1", >>> "./packer-windows/scripts/openssh.ps1" >>> ] >>> } >>> ], >>> "post-processors": [ >>> { >>> "type": "vagrant", >>> "keep_input_artifact": false, >>> "output": "windows_7{{.Provider}}.box", >>> "vagrantfile_template": "vagrantfile-windows_7.template" >>> } >>> ] >>> } >>> >>> >>> >>> debug log: >>> >>> >>> >>> Debug mode enabled. Builds will not be parallelized. >>> parallels-iso output will be in this color. >>> >>> ==> parallels-iso: Pausing after run of step >>> 'StepPrepareParallelsTools'. Press enter to continue. >>> ==> parallels-iso: Downloading or copying ISO >>> parallels-iso: Downloading or copying: >>> file:///Users/ldk-qa/Desktop/en_windows_7_enterprise_with_sp1_x64_dvd_u_677651.iso >>> ==> parallels-iso: Pausing after run of step 'StepDownload'. Press enter >>> to continue. >>> ==> parallels-iso: Pausing after run of step 'StepOutputDir'. Press >>> enter to continue. >>> ==> parallels-iso: Creating floppy disk... >>> parallels-iso: Copying files flatly from floppy_files >>> parallels-iso: Copying file: >>> ./packer-windows/answer_files/7/Autounattend.xml >>> parallels-iso: Copying file: >>> ./packer-windows/scripts/microsoft-updates.bat >>> parallels-iso: Copying file: ./packer-windows/scripts/win-updates.ps1 >>> parallels-iso: Copying file: ./packer-windows/scripts/openssh.ps1 >>> parallels-iso: Done copying files from floppy_files >>> parallels-iso: Collecting paths from floppy_dirs >>> parallels-iso: Resulting paths from floppy_dirs : [] >>> parallels-iso: Done copying paths from floppy_dirs >>> ==> parallels-iso: Pausing after run of step 'StepCreateFloppy'. Press >>> enter to continue. >>> ==> parallels-iso: Pausing after run of step 'StepHTTPServer'. Press >>> enter to continue. >>> ==> parallels-iso: Creating virtual machine... >>> ==> parallels-iso: Applying default settings... >>> ==> parallels-iso: Pausing after run of step 'stepCreateVM'. Press enter >>> to continue. >>> ==> parallels-iso: Creating hard drive... >>> ==> parallels-iso: Pausing after run of step 'stepCreateDisk'. Press >>> enter to continue. >>> ==> parallels-iso: Setting the boot order... >>> ==> parallels-iso: Pausing after run of step 'stepSetBootOrder'. Press >>> enter to continue. >>> ==> parallels-iso: Attaching ISO to the default CD/DVD ROM device... >>> ==> parallels-iso: Pausing after run of step 'stepAttachISO'. Press >>> enter to continue. >>> ==> parallels-iso: Pausing after run of step 'StepAttachParallelsTools'. >>> Press enter to continue. >>> ==> parallels-iso: Deleting any current floppy disk... >>> ==> parallels-iso: Attaching floppy disk... >>> ==> parallels-iso: Pausing after run of step 'StepAttachFloppy'. Press >>> enter to continue. >>> ==> parallels-iso: Executing custom prlctl commands... >>> parallels-iso: Executing: prlctl set packer-parallels-iso --memsize >>> 1024 >>> parallels-iso: Executing: prlctl set packer-parallels-iso --cpus 2 >>> ==> parallels-iso: Pausing after run of step 'StepPrlctl'. Press enter >>> to continue. >>> ==> parallels-iso: Starting the virtual machine... >>> ==> parallels-iso: Waiting 2m0s for boot... >>> ==> parallels-iso: Pausing after run of step 'StepRun'. Press enter to >>> continue. >>> ==> parallels-iso: Host IP for the Parallels machine: 192.168.3.15 >>> ==> parallels-iso: Typing the boot command... >>> ==> parallels-iso: Pausing after run of step 'StepTypeBootCommand'. >>> Press enter to continue. >>> ==> parallels-iso: Waiting for SSH to become available... >>> ==> parallels-iso: Timeout waiting for SSH. >>> ==> parallels-iso: Pausing before cleanup of step 'StepTypeBootCommand'. >>> Press enter to continue. >>> ==> parallels-iso: Pausing before cleanup of step 'StepRun'. Press enter >>> to continue. >>> ==> parallels-iso: Pausing before cleanup of step 'StepPrlctl'. Press >>> enter to continue. >>> ==> parallels-iso: Pausing before cleanup of step 'StepAttachFloppy'. >>> Press enter to continue. >>> ==> parallels-iso: Pausing before cleanup of step >>> 'StepAttachParallelsTools'. Press enter to continue. >>> ==> parallels-iso: Pausing before cleanup of step 'stepAttachISO'. Press >>> enter to continue. >>> ==> parallels-iso: Pausing before cleanup of step 'stepSetBootOrder'. >>> Press enter to continue. >>> ==> parallels-iso: Pausing before cleanup of step 'stepCreateDisk'. >>> Press enter to continue. >>> ==> parallels-iso: Pausing before cleanup of step 'stepCreateVM'. Press >>> enter to continue. >>> ==> parallels-iso: Unregistering virtual machine... >>> ==> parallels-iso: Pausing before cleanup of step 'StepHTTPServer'. >>> Press enter to continue. >>> ==> parallels-iso: Pausing before cleanup of step 'StepCreateFloppy'. >>> Press enter to continue. >>> ==> parallels-iso: Pausing before cleanup of step 'StepOutputDir'. Press >>> enter to continue. >>> ==> parallels-iso: Deleting output directory... >>> ==> parallels-iso: Pausing before cleanup of step 'StepDownload'. Press >>> enter to continue. >>> ==> parallels-iso: Pausing before cleanup of step >>> 'StepPrepareParallelsTools'. Press enter to continue. >>> Build 'parallels-iso' errored: Timeout waiting for SSH. >>> >>> ==> Some builds didn't complete successfully and had errors: >>> --> parallels-iso: Timeout waiting for SSH. >>> >>> ==> Builds finished but no artifacts were created. >>> LDK-QAs-MacBook-Pro:Packer_pro ldk-qa$ >>> >>> >>> -- >>> 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/ee27832b-b0b0-4e65-a1c2-6e602265af6e%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/packer-tool/ee27832b-b0b0-4e65-a1c2-6e602265af6e%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- 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/46b3b128-2f94-4ed3-9bcc-4bf596946812%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
