Skip to content
This repository was archived by the owner on Oct 4, 2019. It is now read-only.

Packer hangs at : ==> vmware-iso: Waiting for SSH to become available... #267

@JamesKBowler

Description

@JamesKBowler

Hello,

I seem to be having some problems with Windows 2012 R2.

The command to kick this off.

/opt/packer build  \
    -var iso_url=/mnt/nfs-share/iso_bin/en_windows_server_2012_x64_dvd_915478.iso  \
    -var esxi_host="172.16.0.100" \
    -var esxi_datastore=datastore3 \
    -var esxi_username=root \
    -var esxi_password="password"  \
    -var iso_checksum=da91135483e24689bfdaf05d40301506 windows_2012_r2.json `

Then packer just hangs with the output below.

==> vmware-iso: Downloading or copying ISO
    vmware-iso: Downloading or copying: file:///mnt/nfs-share/iso_bin/en_windows_server_2012_x64_dvd_915478.iso
==> vmware-iso: Creating floppy disk...
    vmware-iso: Copying files flatly from floppy_files
    vmware-iso: Copying file: ./answer_files/2012_r2/Autounattend.xml
    vmware-iso: Copying file: ./scripts/microsoft-updates.bat
    vmware-iso: Copying file: ./scripts/win-updates.ps1
    vmware-iso: Copying file: ./scripts/openssh.ps1
    vmware-iso: Done copying files from floppy_files
    vmware-iso: Collecting paths from floppy_dirs
    vmware-iso: Resulting paths from floppy_dirs : []
    vmware-iso: Done copying paths from floppy_dirs
==> vmware-iso: Uploading Floppy to remote machine...
==> vmware-iso: Uploading ISO to remote machine...
==> vmware-iso: Creating virtual machine disk
==> vmware-iso: Building and writing VMX file
==> vmware-iso: Registering remote VM...
==> vmware-iso: Starting virtual machine...
    vmware-iso: The VM will be run headless, without a GUI. If you want to
    vmware-iso: view the screen of the VM, connect via VNC with the password "MDLMH1Lv" to
    vmware-iso: vnc://172.16.0.100:5900
==> vmware-iso: Waiting 2m0s for boot...
==> vmware-iso: Connecting to VM via VNC (172.16.0.100:5900)
==> vmware-iso: Typing the boot command over VNC...
==> vmware-iso: Waiting for SSH to become available...

On ESXI 5.5 console screen I have this.

image

Any idea what the problem is?

Thanks

James

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions