hi All, I encountered the situation about "Error getting SSH address". The log message is listed below.
2019/04/11 17:43:01 packer: 2019/04/11 17:43:01 Lookup up IP information... 2019/04/11 17:43:01 packer: 2019/04/11 17:43:01 GuestAddress found MAC address in VMX: 00:0c:29:64:ff:e1 2019/04/11 17:43:01 packer: 2019/04/11 17:43:01 Trying DHCP leases path: /etc/vmware/vmnet8/dhcpd/dhcpd.leases 2019/04/11 17:43:01 packer: 2019/04/11 17:43:01 IP lookup failed: None of the found device(s) [vmnet8] has a DHCP lease for MAC 00:0c:29:64:ff:e1 2019/04/11 17:43:01 packer: 2019/04/11 17:43:01 [DEBUG] Error getting SSH address: IP lookup failed: None of the found device(s) [vmnet8] has a DHCP lease for MAC 00:0c:29:64:ff:e1 2019/04/11 17:43:06 packer: 2019/04/11 17:43:06 Located networkmapper configuration file using Workstation: /etc/vmware/netmap.conf 2019/04/11 17:43:06 packer: 2019/04/11 17:43:06 GuestIP discovered device matching nat: vmnet8 Attached the vmx file for reference. I followed a post online to vnc into the ip and I can reach the VM but it is one a setup screen or something. I attached the screen capture for reference Any advice what steps to follow to make it works? -- 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/7ae69dc9-a942-470a-8c23-77d6c279e3bf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
#!/usr/bin/vmware .encoding = "UTF-8" bios.bootorder = "hdd,cdrom" checkpoint.vmstate = "" cleanshutdown = "FALSE" config.version = "8" displayname = "pnda_template_base" ehci.pcislotnumber = "-1" ehci.present = "FALSE" ethernet0.addresstype = "generated" ethernet0.bsdname = "en0" ethernet0.connectiontype = "bridged" ethernet0.displayname = "Ethernet" ethernet0.generatedaddressoffset = "0" ethernet0.linkstatepropagation.enable = "FALSE" ethernet0.networkname = "DPG-VLAN651" ethernet0.pcislotnumber = "33" ethernet0.present = "TRUE" ethernet0.startconnected = "TRUE" ethernet0.virtualdev = "e1000" ethernet0.vnet = "" ethernet0.wakeonpcktrcv = "FALSE" extendedconfigfile = "pnda_template_base.vmxf" floppy0.present = "FALSE" guestos = "centos-64" gui.fullscreenatpoweron = "FALSE" gui.viewmodeatpoweron = "windowed" hgfs.linkrootshare = "TRUE" hgfs.maprootshare = "TRUE" ide0:0.devicetype = "cdrom-image" ide0:0.filename = "/root/pnda/packer/iso/CentOS-7-x86_64-Minimal-1810.iso" ide0:0.present = "TRUE" isolation.tools.hgfs.disable = "FALSE" memsize = "4096" mks.enable3d = "FALSE" msg.autoanswer = "true" numvcpus = "2" nvme0.present = "FALSE" nvram = "pnda_template_base.nvram" parallel0.autodetect = "FALSE" parallel0.bidirectional = "" parallel0.filename = "" parallel0.present = "FALSE" parallel0.startconnected = "FALSE" pcibridge0.pcislotnumber = "17" pcibridge0.present = "TRUE" pcibridge4.functions = "8" pcibridge4.pcislotnumber = "21" pcibridge4.present = "TRUE" pcibridge4.virtualdev = "pcieRootPort" pcibridge5.functions = "8" pcibridge5.pcislotnumber = "22" pcibridge5.present = "TRUE" pcibridge5.virtualdev = "pcieRootPort" pcibridge6.functions = "8" pcibridge6.pcislotnumber = "23" pcibridge6.present = "TRUE" pcibridge6.virtualdev = "pcieRootPort" pcibridge7.functions = "8" pcibridge7.pcislotnumber = "24" pcibridge7.present = "TRUE" pcibridge7.virtualdev = "pcieRootPort" powertype.poweroff = "soft" powertype.poweron = "soft" powertype.reset = "soft" powertype.suspend = "soft" proxyapps.publishtohost = "FALSE" remotedisplay.vnc.enabled = "TRUE" remotedisplay.vnc.ip = "127.0.0.1" remotedisplay.vnc.port = "5947" replay.filename = "" replay.supported = "FALSE" sata0.present = "FALSE" scsi0.pcislotnumber = "16" scsi0.present = "TRUE" scsi0.virtualdev = "lsilogic" scsi0:0.filename = "pnda_template_base.vmdk" scsi0:0.present = "TRUE" scsi0:0.redo = "" serial0.autodetect = "FALSE" serial0.filename = "" serial0.filetype = "" serial0.pipe.endpoint = "" serial0.present = "FALSE" serial0.startconnected = "FALSE" serial0.trynorxloss = "" serial0.yieldonmsrread = "" sound.autodetect = "TRUE" sound.filename = "-1" sound.present = "FALSE" sound.startconnected = "FALSE" tools.synctime = "TRUE" tools.upgrade.policy = "upgradeAtPowerCycle" usb.pcislotnumber = "-1" usb.present = "FALSE" uuid.action = "create" virtualhw.productcompatibility = "hosted" virtualhw.version = "9" vmci0.id = "1861462627" vmci0.pcislotnumber = "35" vmci0.present = "TRUE" vmotion.checkpointfbsize = "33554432" numa.autosize.vcpu.maxPerVirtualNode = "2" numa.autosize.cookie = "20001" uuid.bios = "56 4d d2 d0 c9 35 d3 fc-17 55 09 b9 b4 64 ff e1" uuid.location = "56 4d d2 d0 c9 35 d3 fc-17 55 09 b9 b4 64 ff e1" migrate.hostlog = "./pnda_template_base-9d1dce34.hlog" ethernet0.generatedAddress = "00:0c:29:64:ff:e1" monitor.phys_bits_used = "40" softPowerOff = "FALSE"
