Hi!

After upgrading from Packet 1.4.3 to 1.5.1, the boot_command string is sent too late when building VMWare OVF images on an ESXi 6.7 server. The boot_command now ends up being typed in the installer instead of the boot loader. I have set "boot_wait" to "0s" in the configuration, but I now see a

==> vmware-iso: Waiting 10s for boot...

line in the packer output during build, which was not there before. I couldn't find anything in the release notes that mention changes to the boot_wait handling.

This is the "builders" part of the configuration (with sensitive parts redacted):

  "builders": [
    {
      "type": "vmware-iso",
      "remote_type": "esx5",
      "remote_host": "10.0.31.140",
      "remote_username": "redacted",
      "remote_password": "redacted",
      "remote_datastore": "redacted",
      "remote_cache_datastore": "redacted",
      "remote_cache_directory": "packer-iso",
      "vnc_disable_password": true,
      "format": "ova",
      "vm_name": "redacted",
      "vmdk_name": "redacted",
      "iso_url": "redacted.iso",
      "iso_checksum_type": "none",
      "ssh_username": "root",
      "ssh_password": "redacted",
      "ssh_wait_timeout": "30m",
      "shutdown_command": "shutdown -P now",
      "disk_size": "491520",
      "disk_type_id": "thin",
      "guest_os_type": "rhel7-64",
      "vmx_data": {
        "numvcpus": "8",
        "memsize": "16384",
        "ethernet0.present": "true",
        "ethernet0.networkName": "VM Network",
        "ethernet0.virtualDev": "vmxnet3",
        "ethernet1.present": "true",
        "ethernet1.networkName": "Host-Only Network",
        "ethernet1.virtualDev": "vmxnet3",
        "vmxnet.noOprom": "true",
        "vmxnet2.noOprom": "true"
      },
      "http_directory": "kickstart",
      "boot_wait": "0s",
      "boot_command": [
"<esc><esc><wait><esc><esc><wait><esc><esc><wait><esc><esc><wait><esc><esc><wait><esc><esc><wait>",
        "/isolinux/vmlinuz ",
        "inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/redacted.cfg ",
        "initrd=initrd.img ",
        "inst.stage2=hd:LABEL=redacted ",
        "biosdevname=0 net.ifnames=0 ",
        "quiet",
        "<enter>"
      ]
    }
  ],

--
\\// Peter - http://www.softwolves.pp.se/

--
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/cd90efb099695e79be8f96340001ae92%40softwolves.pp.se.

Reply via email to