boxcutter / ubuntu

Virtual machine templates for Ubuntu written in legacy JSON
Apache License 2.0
736 stars 375 forks source link

The build-box ubuntu2004 vmware fails to build a virtual machine; just hangs #201

Open basictheprogram opened 3 years ago

basictheprogram commented 3 years ago
bin/build-box ubuntu2004 vmware

Warning: Warning when preparing build: "vmware-iso"

Your vmx data contains the following variable(s), which Packer normally sets
when it generates its own default vmx template. This may cause your build to
fail or behave unpredictably: numvcpus, memsize

vmware-iso: output will be in this color.

==> vmware-iso: Retrieving ISO
==> vmware-iso: Trying /Volumes/Storage/software/ubuntu/ubuntu-20.04.2-live-server-amd64.iso
==> vmware-iso: Trying /Volumes/Storage/software/ubuntu/ubuntu-20.04.2-live-server-amd64.iso?checksum=sha256%3Ad1f2bf834bbe9bb43faf16f9be992a6f3935e65be0edece1dee2aa6eb1767423
==> vmware-iso: /Volumes/Storage/software/ubuntu/ubuntu-20.04.2-live-server-amd64.iso?checksum=sha256%3Ad1f2bf834bbe9bb43faf16f9be992a6f3935e65be0edece1dee2aa6eb1767423 => /Users/tanner/projects/packer/packer-boxcutter/packer_cache/b517145adf12daef464c16d34da03464aa585881.iso
==> vmware-iso: Configuring output and export directories...
==> vmware-iso: Creating required virtual machine disks
==> vmware-iso: Building and writing VMX file
==> vmware-iso: Starting HTTP server on port 8455
==> vmware-iso: Starting virtual machine...
==> vmware-iso: Connecting to VNC...
==> vmware-iso: Waiting 5s for boot...
==> vmware-iso: Typing the boot command over VNC...
==> vmware-iso: Waiting for SSH to become available...

Inside the Fusion console

ubuntu2004_and_New_Issue_·_boxcutter_ubuntu
$ packer --version
1.7.2
$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.14.6
BuildVersion:   18G9028
VMware Fusion Profession 11.5.7
lynic commented 2 years ago

Same issue here, stuck on waiting ssh.

polobo commented 2 years ago

Trying updating the ISO to reference the 20.04-4 image and see if that helps.