(Change management)... There have been some fixes around this is 1.2.1 and
1.2.2 be sure to test it with 1.2.2.

If that doesn't solve it provide your KS file so we can comment on it.

On 14 April 2018 at 04:41, Aaron Kulbe <aa...@longviewbits.com> wrote:

> The management won't let us run packer builds on vSphere yet. So we're
> stuck standing up a VM with nested virt enabled on it.
>
> When I attempt to do a build, I get this in the log:
>
> 2018/04/14 01:01:03 packer: 2018/04/14 01:01:03 [DEBUG] Error getting SSH
> address: IP lookup failed: None of the found device(s) [vmnet8] has a DHCP
> lease for MAC 00:0c:29:81:91:5d
> 2018/04/14 01:01:08 packer: 2018/04/14 01:01:08 Located networkmapper
> configuration file using Workstation: /etc/vmware/netmap.conf
> 2018/04/14 01:01:08 packer: 2018/04/14 01:01:08 GuestIP discovered device
> matching nat: vmnet8
> 2018/04/14 01:01:08 packer: 2018/04/14 01:01:08 Lookup up IP information...
> 2018/04/14 01:01:08 packer: 2018/04/14 01:01:08 GuestAddress found MAC
> address in VMX: 00:0c:29:81:91:5d
> 2018/04/14 01:01:08 packer: 2018/04/14 01:01:08 Trying DHCP leases path:
> /etc/vmware/vmnet8/dhcpd/dhcpd.leases
> 2018/04/14 01:01:08 packer: 2018/04/14 01:01:08 IP lookup failed: None of
> the found device(s) [vmnet8] has a DHCP lease for MAC 00:0c:29:81:91:5d
>
> (it repeats continuously)
>
> Here is my template:
>
> ➜  build_here cat rhel72.json
> {
>   "builders": [
>     {
>       "type": "vmware-iso",
>       "boot_command": [
>         "<up><tab> text biosdevname=0 net.ifnames=0
> ks=hd:fd0/baseimage_130_72.cfg<enter><wait>"
>       ],
>       "boot_wait": "15s",
>       "disk_size": "20480",
>       "guest_os_type": "rhel7-64",
>       "headless": true,
>       "iso_urls": [
>         "rhel-server-7.2-x86_64-dvd.iso"
>       ],
>       "floppy_files": [ "http/baseimage_130_72.cfg" ],
>       "iso_checksum_type": "sha256",
>       "iso_checksum": "03f3a0291634335f6995534d829bd2
> 1ffaa0d000004dfeb1b2fb81052d64a4d5",
>       "ssh_username": "vagrant",
>       "ssh_password": "vagrant",
>       "ssh_port": 22,
>       "ssh_wait_timeout": "20000s",
>       "shutdown_command": "echo 'vagrant'|sudo -S /sbin/halt -h -p",
>       "tools_upload_flavor": "linux",
>       "vm_name": "packer-rhel-72-x86_64",
>       "vnc_port_min": "5902",
>       "vnc_port_max": "5902",
>       "vnc_disable_password": true,
>       "network": "nat",
>       "vmx_data": {
>         "cpuid.coresPerSocket": "1",
>         "memsize": "1024",
>         "numvcpus": "1"
>       }
>     }
>   ],
>   "post-processors": [
>     {
>       "output": "builds/{{.Provider}}-rhel72.box",
>       "type": "vagrant",
>       "keep_input_artifact": true
>     },
>     {
>       "type": "ovftool",
>       "only": [
>         "vmware-iso"
>       ],
>       "format": "ova"
>     }
>   ]
> }
>
> --
> 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 packer-tool+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/packer-tool/75afbb96-e1cb-4879-962f-6d2b30c32f30%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/75afbb96-e1cb-4879-962f-6d2b30c32f30%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 packer-tool+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt-i3H8iX%3Dupjjcd7mBH6Vz_UTCZiuRU9OyqrfNBahUnuw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to