You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use Packer to clone a Cisco Catalyst 8000v router from vSphere and inject a custom configuration using CDROM.
That part works perfectly. The VM clones, boots, and applies the day 0 confg from the CDROM.
The configuration is pushed, the one configured interface comes up and is reachable, but Packer sits at "Waiting for IP..." before eventually timing out.
The VM has eight network adapters, but I'm only configuring one.
When the VM boots, an IP address is reported by vCenter, and I can ping it.
I don't actually need to provision it via SSH, I can do it all via CDROM for my use case, so disabling the IP wait would be fine as well.
Reproduction Steps
Import Cisco Catalyst 8000v from OVA
Convert to template
packer build .
I see I can do communicator = "none"
But then the VM shuts down before the day0 config is pushed via cdrom and it seems like no communicator causes everything else to be ignored. boot_wait is ignored, boot_command with wait is ignored, I even tried a shell-local provisioner with a shell sleep command but the build always finishes immediately after cloning the VM.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Overview of the Issue
I am trying to use Packer to clone a Cisco Catalyst 8000v router from vSphere and inject a custom configuration using CDROM.
That part works perfectly. The VM clones, boots, and applies the day 0 confg from the CDROM.
The configuration is pushed, the one configured interface comes up and is reachable, but Packer sits at "Waiting for IP..." before eventually timing out.
The VM has eight network adapters, but I'm only configuring one.
When the VM boots, an IP address is reported by vCenter, and I can ping it.
I don't actually need to provision it via SSH, I can do it all via CDROM for my use case, so disabling the IP wait would be fine as well.
Reproduction Steps
Import Cisco Catalyst 8000v from OVA
Convert to template
packer build .
Packer version
1.7.8
Simplified Packer Template
Operating system and Environment details
WSL (Ubuntu) on Win10
Log Fragments and crash.log files
The text was updated successfully, but these errors were encountered: